[#ftl]
[@pp.dropOutputFile /]
[@pp.changeOutputFile name="adc_lld_cfg.c" /]
/*
    SPC5 HAL - Copyright (C) 2013 STMicroelectronics

    Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
    You may obtain a copy of the License at

        http://www.apache.org/licenses/LICENSE-2.0

    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
*/

/**
 * @file    adc_lld_cfg.c
 * @brief   ADC Driver configuration code.
 *
 * @addtogroup ADC
 * @{
 */

#include "hal.h"
#include "adc_lld_cfg.h"

#if HAL_USE_ADC || defined(__DOXYGEN__)

/*===========================================================================*/
/* Driver local definitions.                                                 */
/*===========================================================================*/

/*===========================================================================*/
/* Driver exported variables.                                                */
/*===========================================================================*/

/* List of the ADC0 ADCConversionGroup structures.*/
[#list conf.instance.adc_settings.adc0_conversion_groups.configs.conversion_group_settings as group]
  [#assign name = group.symbolic_name.value[0] /]
  [#assign mode = group.conversion_mode.value[0]?string?trim /]
  [#assign init_channel = group.channels.initial_channel.value[0]?string?trim /]
  [#assign num_channels = group.channels.number_of_channels.value[0] /]
  [#assign conv_cb = group.notifications.conversion_callback.value[0]?string?trim /]
  [#if conv_cb == ""]
    [#assign conv_cb = "NULL" /]
  [/#if]
  [#assign err_cb = group.notifications.error_callback.value[0]?string?trim /]
  [#if err_cb == ""]
    [#assign err_cb = "NULL" /]
  [/#if]
  [#if group.watchdog_thresholds_configuration.threshold_0.mode.value[0]??]
    [#assign adc0_wdt0_mode = group.watchdog_thresholds_configuration.threshold_0.mode.value[0]?string?trim]
    [#assign adc0_wdt0_htv = group.watchdog_thresholds_configuration.threshold_0.high_threshold_value.value[0]]
    [#assign adc0_wdt0_ltv = group.watchdog_thresholds_configuration.threshold_0.low_threshold_value.value[0]]
    [#assign adc0_wdt0_ac = group.watchdog_thresholds_configuration.threshold_0.analog_channel.value[0]?eval]
  [/#if]
  [#if group.watchdog_thresholds_configuration.threshold_1.mode.value[0]??]
    [#assign adc0_wdt1_mode = group.watchdog_thresholds_configuration.threshold_1.mode.value[0]?string?trim]
    [#assign adc0_wdt1_htv = group.watchdog_thresholds_configuration.threshold_1.high_threshold_value.value[0]]
    [#assign adc0_wdt1_ltv = group.watchdog_thresholds_configuration.threshold_1.low_threshold_value.value[0]]
    [#assign adc0_wdt1_ac = group.watchdog_thresholds_configuration.threshold_1.analog_channel.value[0]?eval]
  [/#if]
  [#if group.watchdog_thresholds_configuration.threshold_2.mode.value[0]??]
    [#assign adc0_wdt2_mode = group.watchdog_thresholds_configuration.threshold_2.mode.value[0]?string?trim]
    [#assign adc0_wdt2_htv = group.watchdog_thresholds_configuration.threshold_2.high_threshold_value.value[0]]
    [#assign adc0_wdt2_ltv = group.watchdog_thresholds_configuration.threshold_2.low_threshold_value.value[0]]
    [#assign adc0_wdt2_ac = group.watchdog_thresholds_configuration.threshold_2.analog_channel.value[0]?eval]
  [/#if]
  [#if group.watchdog_thresholds_configuration.threshold_3.mode.value[0]??]
    [#assign adc0_wdt3_mode = group.watchdog_thresholds_configuration.threshold_3.mode.value[0]?string?trim]
    [#assign adc0_wdt3_htv = group.watchdog_thresholds_configuration.threshold_3.high_threshold_value.value[0]]
    [#assign adc0_wdt3_ltv = group.watchdog_thresholds_configuration.threshold_3.low_threshold_value.value[0]]
    [#assign adc0_wdt3_ac = group.watchdog_thresholds_configuration.threshold_3.analog_channel.value[0]?eval]
  [/#if]
  [#if group.watchdog_thresholds_configuration.threshold_4.mode.value[0]??]
    [#assign adc0_wdt4_mode = group.watchdog_thresholds_configuration.threshold_4.mode.value[0]?string?trim]
    [#assign adc0_wdt4_htv = group.watchdog_thresholds_configuration.threshold_4.high_threshold_value.value[0]]
    [#assign adc0_wdt4_ltv = group.watchdog_thresholds_configuration.threshold_4.low_threshold_value.value[0]]
    [#assign adc0_wdt4_ac = group.watchdog_thresholds_configuration.threshold_4.analog_channel.value[0]?eval]
  [/#if]
  [#if group.watchdog_thresholds_configuration.threshold_5.mode.value[0]??]
    [#assign adc0_wdt5_mode = group.watchdog_thresholds_configuration.threshold_5.mode.value[0]?string?trim]
    [#assign adc0_wdt5_htv = group.watchdog_thresholds_configuration.threshold_5.high_threshold_value.value[0]]
    [#assign adc0_wdt5_ltv = group.watchdog_thresholds_configuration.threshold_5.low_threshold_value.value[0]]
    [#assign adc0_wdt5_ac = group.watchdog_thresholds_configuration.threshold_5.analog_channel.value[0]?eval]
  [/#if]
  [#if group.watchdog_thresholds_configuration.threshold_6.mode.value[0]??]
    [#assign adc0_wdt6_mode = group.watchdog_thresholds_configuration.threshold_6.mode.value[0]?string?trim]
    [#assign adc0_wdt6_htv = group.watchdog_thresholds_configuration.threshold_6.high_threshold_value.value[0]]
    [#assign adc0_wdt6_ltv = group.watchdog_thresholds_configuration.threshold_6.low_threshold_value.value[0]]
    [#assign adc0_wdt6_ac = group.watchdog_thresholds_configuration.threshold_6.analog_channel.value[0]?eval]
  [/#if]
  [#if group.watchdog_thresholds_configuration.threshold_7.mode.value[0]??]
    [#assign adc0_wdt7_mode = group.watchdog_thresholds_configuration.threshold_7.mode.value[0]?string?trim]
    [#assign adc0_wdt7_htv = group.watchdog_thresholds_configuration.threshold_7.high_threshold_value.value[0]]
    [#assign adc0_wdt7_ltv = group.watchdog_thresholds_configuration.threshold_7.low_threshold_value.value[0]]
    [#assign adc0_wdt7_ac = group.watchdog_thresholds_configuration.threshold_7.analog_channel.value[0]?eval]
  [/#if]
  [#if group.watchdog_thresholds_configuration.threshold_8.mode.value[0]??]
    [#assign adc0_wdt8_mode = group.watchdog_thresholds_configuration.threshold_8.mode.value[0]?string?trim]
    [#assign adc0_wdt8_htv = group.watchdog_thresholds_configuration.threshold_8.high_threshold_value.value[0]]
    [#assign adc0_wdt8_ltv = group.watchdog_thresholds_configuration.threshold_8.low_threshold_value.value[0]]
    [#assign adc0_wdt8_ac = group.watchdog_thresholds_configuration.threshold_8.analog_channel.value[0]?eval]
  [/#if]
  [#if group.watchdog_thresholds_configuration.threshold_9.mode.value[0]??]
    [#assign adc0_wdt9_mode = group.watchdog_thresholds_configuration.threshold_9.mode.value[0]?string?trim]
    [#assign adc0_wdt9_htv = group.watchdog_thresholds_configuration.threshold_9.high_threshold_value.value[0]]
    [#assign adc0_wdt9_ltv = group.watchdog_thresholds_configuration.threshold_9.low_threshold_value.value[0]]
    [#assign adc0_wdt9_ac = group.watchdog_thresholds_configuration.threshold_9.analog_channel.value[0]?eval]
  [/#if]
  [#if group.watchdog_thresholds_configuration.threshold_10.mode.value[0]??]
    [#assign adc0_wdt10_mode = group.watchdog_thresholds_configuration.threshold_10.mode.value[0]?string?trim]
    [#assign adc0_wdt10_htv = group.watchdog_thresholds_configuration.threshold_10.high_threshold_value.value[0]]
    [#assign adc0_wdt10_ltv = group.watchdog_thresholds_configuration.threshold_10.low_threshold_value.value[0]]
    [#assign adc0_wdt10_ac = group.watchdog_thresholds_configuration.threshold_10.analog_channel.value[0]?eval]
  [/#if]
  [#if group.watchdog_thresholds_configuration.threshold_11.mode.value[0]??]
    [#assign adc0_wdt11_mode = group.watchdog_thresholds_configuration.threshold_11.mode.value[0]?string?trim]
    [#assign adc0_wdt11_htv = group.watchdog_thresholds_configuration.threshold_11.high_threshold_value.value[0]]
    [#assign adc0_wdt11_ltv = group.watchdog_thresholds_configuration.threshold_11.low_threshold_value.value[0]]
    [#assign adc0_wdt11_ac = group.watchdog_thresholds_configuration.threshold_11.analog_channel.value[0]?eval]
  [/#if]
  [#if group.watchdog_thresholds_configuration.threshold_12.mode.value[0]??]
    [#assign adc0_wdt12_mode = group.watchdog_thresholds_configuration.threshold_12.mode.value[0]?string?trim]
    [#assign adc0_wdt12_htv = group.watchdog_thresholds_configuration.threshold_12.high_threshold_value.value[0]]
    [#assign adc0_wdt12_ltv = group.watchdog_thresholds_configuration.threshold_12.low_threshold_value.value[0]]
    [#assign adc0_wdt12_ac = group.watchdog_thresholds_configuration.threshold_12.analog_channel.value[0]?eval]
  [/#if]
  [#if group.watchdog_thresholds_configuration.threshold_13.mode.value[0]??]
    [#assign adc0_wdt13_mode = group.watchdog_thresholds_configuration.threshold_13.mode.value[0]?string?trim]
    [#assign adc0_wdt13_htv = group.watchdog_thresholds_configuration.threshold_13.high_threshold_value.value[0]]
    [#assign adc0_wdt13_ltv = group.watchdog_thresholds_configuration.threshold_13.low_threshold_value.value[0]]
    [#assign adc0_wdt13_ac = group.watchdog_thresholds_configuration.threshold_13.analog_channel.value[0]?eval]
  [/#if]
  [#if group.watchdog_thresholds_configuration.threshold_14.mode.value[0]??]
    [#assign adc0_wdt14_mode = group.watchdog_thresholds_configuration.threshold_14.mode.value[0]?string?trim]
    [#assign adc0_wdt14_htv = group.watchdog_thresholds_configuration.threshold_14.high_threshold_value.value[0]]
    [#assign adc0_wdt14_ltv = group.watchdog_thresholds_configuration.threshold_14.low_threshold_value.value[0]]
    [#assign adc0_wdt14_ac = group.watchdog_thresholds_configuration.threshold_14.analog_channel.value[0]?eval]
  [/#if]
  [#if group.watchdog_thresholds_configuration.threshold_15.mode.value[0]??]
    [#assign adc0_wdt15_mode = group.watchdog_thresholds_configuration.threshold_15.mode.value[0]?string?trim]
    [#assign adc0_wdt15_htv = group.watchdog_thresholds_configuration.threshold_15.high_threshold_value.value[0]]
    [#assign adc0_wdt15_ltv = group.watchdog_thresholds_configuration.threshold_15.low_threshold_value.value[0]]
    [#assign adc0_wdt15_ac = group.watchdog_thresholds_configuration.threshold_15.analog_channel.value[0]?eval]
  [/#if]
  [#if group.conversion_timing_configuration.ctr0_inplatch.value[0]??]
    [#assign adc0_ctr0_inplatch = group.conversion_timing_configuration.ctr0_inplatch.value[0]]
    [#if adc0_ctr0_inplatch == "TRUE"]
      [#assign adc0_ctr0_inplatch = 1]
    [#else]
      [#assign adc0_ctr0_inplatch = 0]
    [/#if]
  [/#if]
  [#if group.conversion_timing_configuration.ctr0_offshift.value[0]??]
    [#assign adc0_ctr0_offshift = group.conversion_timing_configuration.ctr0_offshift.value[0]]
  [/#if]
  [#if group.conversion_timing_configuration.ctr0_inpcmp.value[0]??]
    [#assign adc0_ctr0_inpcmp = group.conversion_timing_configuration.ctr0_inpcmp.value[0]]
  [/#if]
  [#if group.conversion_timing_configuration.ctr0_inpsamp.value[0]??]
    [#assign adc0_ctr0_inpsamp = group.conversion_timing_configuration.ctr0_inpsamp.value[0]]
  [/#if]
  [#if group.conversion_timing_configuration.ctr1_inplatch.value[0]??]
    [#assign adc0_ctr1_inplatch = group.conversion_timing_configuration.ctr1_inplatch.value[0]]
    [#if adc0_ctr1_inplatch == "TRUE"]
      [#assign adc0_ctr1_inplatch = 1]
    [#else]
      [#assign adc0_ctr1_inplatch = 0]
    [/#if]
  [/#if]
  [#if group.conversion_timing_configuration.ctr1_offshift.value[0]??]
    [#assign adc0_ctr1_offshift = group.conversion_timing_configuration.ctr1_offshift.value[0]]
  [/#if]
  [#if group.conversion_timing_configuration.ctr1_inpcmp.value[0]??]
    [#assign adc0_ctr1_inpcmp = group.conversion_timing_configuration.ctr1_inpcmp.value[0]]
  [/#if]
  [#if group.conversion_timing_configuration.ctr1_inpsamp.value[0]??]
    [#assign adc0_ctr1_inpsamp = group.conversion_timing_configuration.ctr1_inpsamp.value[0]]
  [/#if]
  [#if group.conversion_timing_configuration.ctr2_inplatch.value[0]??]
    [#assign adc0_ctr2_inplatch = group.conversion_timing_configuration.ctr2_inplatch.value[0]]
    [#if adc0_ctr2_inplatch == "TRUE"]
      [#assign adc0_ctr2_inplatch = 1]
    [#else]
      [#assign adc0_ctr2_inplatch = 0]
    [/#if]
  [/#if]
  [#if group.conversion_timing_configuration.ctr2_offshift.value[0]??]
    [#assign adc0_ctr2_offshift = group.conversion_timing_configuration.ctr2_offshift.value[0]]
  [/#if]
  [#if group.conversion_timing_configuration.ctr2_inpcmp.value[0]??]
    [#assign adc0_ctr2_inpcmp = group.conversion_timing_configuration.ctr2_inpcmp.value[0]]
  [/#if]
  [#if group.conversion_timing_configuration.ctr2_inpsamp.value[0]??]
    [#assign adc0_ctr2_inpsamp = group.conversion_timing_configuration.ctr2_inpsamp.value[0]]
  [/#if]
/**
 * @brief   Structure defining the conversion group "${group.symbolic_name.value[0]}".
 */
const ADCConversionGroup adc0_group_${group.symbolic_name.value[0]?trim} = {
  [#if mode=="Linear Buffer"]FALSE,[#else]TRUE,[/#if]
  ${num_channels}U,
  ${conv_cb},
  ${err_cb},
#if SPC5_ADC_HAS_TRC
  {
    [#if adc0_wdt0_mode??][#if adc0_wdt0_mode != "DISABLED"]ADC_TRC_THREN | ADC_TRC_THRCH(${adc0_wdt0_ac})[#else]0[/#if][#else]0[/#if],
    [#if adc0_wdt1_mode??][#if adc0_wdt1_mode != "DISABLED"]ADC_TRC_THREN | ADC_TRC_THRCH(${adc0_wdt1_ac})[#else]0[/#if][#else]0[/#if],
    [#if adc0_wdt2_mode??][#if adc0_wdt2_mode != "DISABLED"]ADC_TRC_THREN | ADC_TRC_THRCH(${adc0_wdt2_ac})[#else]0[/#if][#else]0[/#if],
    [#if adc0_wdt3_mode??][#if adc0_wdt3_mode != "DISABLED"]ADC_TRC_THREN | ADC_TRC_THRCH(${adc0_wdt3_ac})[#else]0[/#if][#else]0[/#if]
  },
  {
    [#if adc0_wdt0_htv??]ADC_THRHLR_THRH(${adc0_wdt0_htv}) | ADC_THRHLR_THRL(${adc0_wdt0_ltv})[#else]0[/#if],
    [#if adc0_wdt1_htv??]ADC_THRHLR_THRH(${adc0_wdt1_htv}) | ADC_THRHLR_THRL(${adc0_wdt1_ltv})[#else]0[/#if],
    [#if adc0_wdt2_htv??]ADC_THRHLR_THRH(${adc0_wdt2_htv}) | ADC_THRHLR_THRL(${adc0_wdt2_ltv})[#else]0[/#if],
    [#if adc0_wdt3_htv??]ADC_THRHLR_THRH(${adc0_wdt3_htv}) | ADC_THRHLR_THRL(${adc0_wdt3_ltv})[#else]0[/#if]
  },
  0[#if adc0_wdt0_mode??][#if adc0_wdt0_mode != "DISABLED"][#if adc0_wdt0_mode == "HIGH_LEVEL_INT"] | ADC_WTIMR_MSKWDG0_HIGH[/#if][#if adc0_wdt0_mode == "LOW_LEVEL_INT"] | ADC_WTIMR_MSKWDG0_LOW[/#if][#if adc0_wdt0_mode == "HIGH_LOW_LEVEL_INT"] | ADC_WTIMR_MSKWDG0_BOTH[/#if][/#if][/#if][#rt]
 [#if adc0_wdt1_mode??][#if adc0_wdt1_mode != "DISABLED"][#if adc0_wdt1_mode == "HIGH_LEVEL_INT"] | ADC_WTIMR_MSKWDG1_HIGH[/#if][#if adc0_wdt1_mode == "LOW_LEVEL_INT"] | ADC_WTIMR_MSKWDG1_LOW[/#if][#if adc0_wdt1_mode == "HIGH_LOW_LEVEL_INT"] | ADC_WTIMR_MSKWDG1_BOTH[/#if][/#if][/#if][#rt]
 [#if adc0_wdt2_mode??][#if adc0_wdt2_mode != "DISABLED"][#if adc0_wdt2_mode == "HIGH_LEVEL_INT"] | ADC_WTIMR_MSKWDG2_HIGH[/#if][#if adc0_wdt2_mode == "LOW_LEVEL_INT"] | ADC_WTIMR_MSKWDG2_LOW[/#if][#if adc0_wdt2_mode == "HIGH_LOW_LEVEL_INT"] | ADC_WTIMR_MSKWDG2_BOTH[/#if][/#if][/#if][#rt]
 [#if adc0_wdt3_mode??][#if adc0_wdt3_mode != "DISABLED"][#if adc0_wdt3_mode == "HIGH_LEVEL_INT"] | ADC_WTIMR_MSKWDG3_HIGH[/#if][#if adc0_wdt3_mode == "LOW_LEVEL_INT"] | ADC_WTIMR_MSKWDG3_LOW[/#if][#if adc0_wdt3_mode == "HIGH_LOW_LEVEL_INT"] | ADC_WTIMR_MSKWDG3_BOTH[/#if][/#if][/#if],
#else
  {
    0[#if group.watchdog_thresholds_configuration.threshold_0.mode.value[0]??][#if adc0_wdt0_mode != "DISABLED"][#if (adc0_wdt0_ac>=0) && adc0_wdt0_ac<8] | ADC_WDT0 << ADC_CWSEL0_WSEL_CHN(${adc0_wdt0_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_1.mode.value[0]??][#if adc0_wdt1_mode != "DISABLED"][#if (adc0_wdt1_ac>=0) && adc0_wdt1_ac<8] | ADC_WDT1 << ADC_CWSEL0_WSEL_CHN(${adc0_wdt1_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_2.mode.value[0]??][#if adc0_wdt2_mode != "DISABLED"][#if (adc0_wdt2_ac>=0) && adc0_wdt2_ac<8] | ADC_WDT2 << ADC_CWSEL0_WSEL_CHN(${adc0_wdt2_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_3.mode.value[0]??][#if adc0_wdt3_mode != "DISABLED"][#if (adc0_wdt3_ac>=0) && adc0_wdt3_ac<8] | ADC_WDT3 << ADC_CWSEL0_WSEL_CHN(${adc0_wdt3_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_4.mode.value[0]??][#if adc0_wdt4_mode != "DISABLED"][#if (adc0_wdt4_ac>=0) && adc0_wdt4_ac<8] | ADC_WDT4 << ADC_CWSEL0_WSEL_CHN(${adc0_wdt4_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_5.mode.value[0]??][#if adc0_wdt5_mode != "DISABLED"][#if (adc0_wdt5_ac>=0) && adc0_wdt5_ac<8] | ADC_WDT5 << ADC_CWSEL0_WSEL_CHN(${adc0_wdt5_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_6.mode.value[0]??][#if adc0_wdt6_mode != "DISABLED"][#if (adc0_wdt6_ac>=0) && adc0_wdt6_ac<8] | ADC_WDT6 << ADC_CWSEL0_WSEL_CHN(${adc0_wdt6_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_7.mode.value[0]??][#if adc0_wdt7_mode != "DISABLED"][#if (adc0_wdt7_ac>=0) && adc0_wdt7_ac<8] | ADC_WDT7 << ADC_CWSEL0_WSEL_CHN(${adc0_wdt7_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_8.mode.value[0]??][#if adc0_wdt8_mode != "DISABLED"][#if (adc0_wdt8_ac>=0) && adc0_wdt8_ac<8] | ADC_WDT8 << ADC_CWSEL0_WSEL_CHN(${adc0_wdt8_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_9.mode.value[0]??][#if adc0_wdt9_mode != "DISABLED"][#if (adc0_wdt9_ac>=0) && adc0_wdt9_ac<8] | ADC_WDT9 << ADC_CWSEL0_WSEL_CHN(${adc0_wdt9_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_10.mode.value[0]??][#if adc0_wdt10_mode != "DISABLED"][#if (adc0_wdt10_ac>=0) && adc0_wdt10_ac<8] | ADC_WDT10 << ADC_CWSEL0_WSEL_CHN(${adc0_wdt10_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_11.mode.value[0]??][#if adc0_wdt11_mode != "DISABLED"][#if (adc0_wdt11_ac>=0) && adc0_wdt11_ac<8] | ADC_WDT11 << ADC_CWSEL0_WSEL_CHN(${adc0_wdt11_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_12.mode.value[0]??][#if adc0_wdt12_mode != "DISABLED"][#if (adc0_wdt12_ac>=0) && adc0_wdt12_ac<8] | ADC_WDT12 << ADC_CWSEL0_WSEL_CHN(${adc0_wdt12_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_13.mode.value[0]??][#if adc0_wdt13_mode != "DISABLED"][#if (adc0_wdt13_ac>=0) && adc0_wdt13_ac<8] | ADC_WDT13 << ADC_CWSEL0_WSEL_CHN(${adc0_wdt13_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_14.mode.value[0]??][#if adc0_wdt14_mode != "DISABLED"][#if (adc0_wdt14_ac>=0) && adc0_wdt14_ac<8] | ADC_WDT14 << ADC_CWSEL0_WSEL_CHN(${adc0_wdt14_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_15.mode.value[0]??][#if adc0_wdt15_mode != "DISABLED"][#if (adc0_wdt15_ac>=0) && adc0_wdt15_ac<8] | ADC_WDT15 << ADC_CWSEL0_WSEL_CHN(${adc0_wdt15_ac})[/#if][/#if][/#if],
    0[#if group.watchdog_thresholds_configuration.threshold_0.mode.value[0]??][#if adc0_wdt0_mode != "DISABLED"][#if (adc0_wdt0_ac>=8) && adc0_wdt0_ac<16] | ADC_WDT0 << ADC_CWSEL1_WSEL_CHN(${adc0_wdt0_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_1.mode.value[0]??][#if adc0_wdt1_mode != "DISABLED"][#if (adc0_wdt1_ac>=8) && adc0_wdt1_ac<16] | ADC_WDT1 << ADC_CWSEL1_WSEL_CHN(${adc0_wdt1_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_2.mode.value[0]??][#if adc0_wdt2_mode != "DISABLED"][#if (adc0_wdt2_ac>=8) && adc0_wdt2_ac<16] | ADC_WDT2 << ADC_CWSEL1_WSEL_CHN(${adc0_wdt2_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_3.mode.value[0]??][#if adc0_wdt3_mode != "DISABLED"][#if (adc0_wdt3_ac>=8) && adc0_wdt3_ac<16] | ADC_WDT3 << ADC_CWSEL1_WSEL_CHN(${adc0_wdt3_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_4.mode.value[0]??][#if adc0_wdt4_mode != "DISABLED"][#if (adc0_wdt4_ac>=8) && adc0_wdt4_ac<16] | ADC_WDT4 << ADC_CWSEL1_WSEL_CHN(${adc0_wdt4_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_5.mode.value[0]??][#if adc0_wdt5_mode != "DISABLED"][#if (adc0_wdt5_ac>=8) && adc0_wdt5_ac<16] | ADC_WDT5 << ADC_CWSEL1_WSEL_CHN(${adc0_wdt5_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_6.mode.value[0]??][#if adc0_wdt6_mode != "DISABLED"][#if (adc0_wdt6_ac>=8) && adc0_wdt6_ac<16] | ADC_WDT6 << ADC_CWSEL1_WSEL_CHN(${adc0_wdt6_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_7.mode.value[0]??][#if adc0_wdt7_mode != "DISABLED"][#if (adc0_wdt7_ac>=8) && adc0_wdt7_ac<16] | ADC_WDT7 << ADC_CWSEL1_WSEL_CHN(${adc0_wdt7_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_8.mode.value[0]??][#if adc0_wdt8_mode != "DISABLED"][#if (adc0_wdt8_ac>=8) && adc0_wdt8_ac<16] | ADC_WDT8 << ADC_CWSEL1_WSEL_CHN(${adc0_wdt8_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_9.mode.value[0]??][#if adc0_wdt9_mode != "DISABLED"][#if (adc0_wdt9_ac>=8) && adc0_wdt9_ac<16] | ADC_WDT9 << ADC_CWSEL1_WSEL_CHN(${adc0_wdt9_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_10.mode.value[0]??][#if adc0_wdt10_mode != "DISABLED"][#if (adc0_wdt10_ac>=8) && adc0_wdt10_ac<16] | ADC_WDT10 << ADC_CWSEL1_WSEL_CHN(${adc0_wdt10_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_11.mode.value[0]??][#if adc0_wdt11_mode != "DISABLED"][#if (adc0_wdt11_ac>=8) && adc0_wdt11_ac<16] | ADC_WDT11 << ADC_CWSEL1_WSEL_CHN(${adc0_wdt11_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_12.mode.value[0]??][#if adc0_wdt12_mode != "DISABLED"][#if (adc0_wdt12_ac>=8) && adc0_wdt12_ac<16] | ADC_WDT12 << ADC_CWSEL1_WSEL_CHN(${adc0_wdt12_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_13.mode.value[0]??][#if adc0_wdt13_mode != "DISABLED"][#if (adc0_wdt13_ac>=8) && adc0_wdt13_ac<16] | ADC_WDT13 << ADC_CWSEL1_WSEL_CHN(${adc0_wdt13_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_14.mode.value[0]??][#if adc0_wdt14_mode != "DISABLED"][#if (adc0_wdt14_ac>=8) && adc0_wdt14_ac<16] | ADC_WDT14 << ADC_CWSEL1_WSEL_CHN(${adc0_wdt14_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_15.mode.value[0]??][#if adc0_wdt15_mode != "DISABLED"][#if (adc0_wdt15_ac>=8) && adc0_wdt15_ac<16] | ADC_WDT15 << ADC_CWSEL1_WSEL_CHN(${adc0_wdt15_ac})[/#if][/#if][/#if],
    0[#if group.watchdog_thresholds_configuration.threshold_0.mode.value[0]??][#if adc0_wdt0_mode != "DISABLED"][#if (adc0_wdt0_ac>=16) && adc0_wdt0_ac<24] | ADC_WDT0 << ADC_CWSEL2_WSEL_CHN(${adc0_wdt0_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_1.mode.value[0]??][#if adc0_wdt1_mode != "DISABLED"][#if (adc0_wdt1_ac>=16) && adc0_wdt1_ac<24] | ADC_WDT1 << ADC_CWSEL2_WSEL_CHN(${adc0_wdt1_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_2.mode.value[0]??][#if adc0_wdt2_mode != "DISABLED"][#if (adc0_wdt2_ac>=16) && adc0_wdt2_ac<24] | ADC_WDT2 << ADC_CWSEL2_WSEL_CHN(${adc0_wdt2_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_3.mode.value[0]??][#if adc0_wdt3_mode != "DISABLED"][#if (adc0_wdt3_ac>=16) && adc0_wdt3_ac<24] | ADC_WDT3 << ADC_CWSEL2_WSEL_CHN(${adc0_wdt3_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_4.mode.value[0]??][#if adc0_wdt4_mode != "DISABLED"][#if (adc0_wdt4_ac>=16) && adc0_wdt4_ac<24] | ADC_WDT4 << ADC_CWSEL2_WSEL_CHN(${adc0_wdt4_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_5.mode.value[0]??][#if adc0_wdt5_mode != "DISABLED"][#if (adc0_wdt5_ac>=16) && adc0_wdt5_ac<24] | ADC_WDT5 << ADC_CWSEL2_WSEL_CHN(${adc0_wdt5_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_6.mode.value[0]??][#if adc0_wdt6_mode != "DISABLED"][#if (adc0_wdt6_ac>=16) && adc0_wdt6_ac<24] | ADC_WDT6 << ADC_CWSEL2_WSEL_CHN(${adc0_wdt6_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_7.mode.value[0]??][#if adc0_wdt7_mode != "DISABLED"][#if (adc0_wdt7_ac>=16) && adc0_wdt7_ac<24] | ADC_WDT7 << ADC_CWSEL2_WSEL_CHN(${adc0_wdt7_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_8.mode.value[0]??][#if adc0_wdt8_mode != "DISABLED"][#if (adc0_wdt8_ac>=16) && adc0_wdt8_ac<24] | ADC_WDT8 << ADC_CWSEL2_WSEL_CHN(${adc0_wdt8_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_9.mode.value[0]??][#if adc0_wdt9_mode != "DISABLED"][#if (adc0_wdt9_ac>=16) && adc0_wdt9_ac<24] | ADC_WDT9 << ADC_CWSEL2_WSEL_CHN(${adc0_wdt9_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_10.mode.value[0]??][#if adc0_wdt10_mode != "DISABLED"][#if (adc0_wdt10_ac>=16) && adc0_wdt10_ac<24] | ADC_WDT10 << ADC_CWSEL2_WSEL_CHN(${adc0_wdt10_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_11.mode.value[0]??][#if adc0_wdt11_mode != "DISABLED"][#if (adc0_wdt11_ac>=16) && adc0_wdt11_ac<24] | ADC_WDT11 << ADC_CWSEL2_WSEL_CHN(${adc0_wdt11_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_12.mode.value[0]??][#if adc0_wdt12_mode != "DISABLED"][#if (adc0_wdt12_ac>=16) && adc0_wdt12_ac<24] | ADC_WDT12 << ADC_CWSEL2_WSEL_CHN(${adc0_wdt12_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_13.mode.value[0]??][#if adc0_wdt13_mode != "DISABLED"][#if (adc0_wdt13_ac>=16) && adc0_wdt13_ac<24] | ADC_WDT13 << ADC_CWSEL2_WSEL_CHN(${adc0_wdt13_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_14.mode.value[0]??][#if adc0_wdt14_mode != "DISABLED"][#if (adc0_wdt14_ac>=16) && adc0_wdt14_ac<24] | ADC_WDT14 << ADC_CWSEL2_WSEL_CHN(${adc0_wdt14_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_15.mode.value[0]??][#if adc0_wdt15_mode != "DISABLED"][#if (adc0_wdt15_ac>=16) && adc0_wdt15_ac<24] | ADC_WDT15 << ADC_CWSEL2_WSEL_CHN(${adc0_wdt15_ac})[/#if][/#if][/#if],
    0[#if group.watchdog_thresholds_configuration.threshold_0.mode.value[0]??][#if adc0_wdt0_mode != "DISABLED"][#if (adc0_wdt0_ac>=24) && adc0_wdt0_ac<32] | ADC_WDT0 << ADC_CWSEL3_WSEL_CHN(${adc0_wdt0_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_1.mode.value[0]??][#if adc0_wdt1_mode != "DISABLED"][#if (adc0_wdt1_ac>=24) && adc0_wdt1_ac<32] | ADC_WDT1 << ADC_CWSEL3_WSEL_CHN(${adc0_wdt1_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_2.mode.value[0]??][#if adc0_wdt2_mode != "DISABLED"][#if (adc0_wdt2_ac>=24) && adc0_wdt2_ac<32] | ADC_WDT2 << ADC_CWSEL3_WSEL_CHN(${adc0_wdt2_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_3.mode.value[0]??][#if adc0_wdt3_mode != "DISABLED"][#if (adc0_wdt3_ac>=24) && adc0_wdt3_ac<32] | ADC_WDT3 << ADC_CWSEL3_WSEL_CHN(${adc0_wdt3_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_4.mode.value[0]??][#if adc0_wdt4_mode != "DISABLED"][#if (adc0_wdt4_ac>=24) && adc0_wdt4_ac<32] | ADC_WDT4 << ADC_CWSEL3_WSEL_CHN(${adc0_wdt4_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_5.mode.value[0]??][#if adc0_wdt5_mode != "DISABLED"][#if (adc0_wdt5_ac>=24) && adc0_wdt5_ac<32] | ADC_WDT5 << ADC_CWSEL3_WSEL_CHN(${adc0_wdt5_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_6.mode.value[0]??][#if adc0_wdt6_mode != "DISABLED"][#if (adc0_wdt6_ac>=24) && adc0_wdt6_ac<32] | ADC_WDT6 << ADC_CWSEL3_WSEL_CHN(${adc0_wdt6_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_7.mode.value[0]??][#if adc0_wdt7_mode != "DISABLED"][#if (adc0_wdt7_ac>=24) && adc0_wdt7_ac<32] | ADC_WDT7 << ADC_CWSEL3_WSEL_CHN(${adc0_wdt7_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_8.mode.value[0]??][#if adc0_wdt8_mode != "DISABLED"][#if (adc0_wdt8_ac>=24) && adc0_wdt8_ac<32] | ADC_WDT8 << ADC_CWSEL3_WSEL_CHN(${adc0_wdt8_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_9.mode.value[0]??][#if adc0_wdt9_mode != "DISABLED"][#if (adc0_wdt9_ac>=24) && adc0_wdt9_ac<32] | ADC_WDT9 << ADC_CWSEL3_WSEL_CHN(${adc0_wdt9_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_10.mode.value[0]??][#if adc0_wdt10_mode != "DISABLED"][#if (adc0_wdt10_ac>=24) && adc0_wdt10_ac<32] | ADC_WDT10 << ADC_CWSEL3_WSEL_CHN(${adc0_wdt10_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_11.mode.value[0]??][#if adc0_wdt11_mode != "DISABLED"][#if (adc0_wdt11_ac>=24) && adc0_wdt11_ac<32] | ADC_WDT11 << ADC_CWSEL3_WSEL_CHN(${adc0_wdt11_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_12.mode.value[0]??][#if adc0_wdt12_mode != "DISABLED"][#if (adc0_wdt12_ac>=24) && adc0_wdt12_ac<32] | ADC_WDT12 << ADC_CWSEL3_WSEL_CHN(${adc0_wdt12_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_13.mode.value[0]??][#if adc0_wdt13_mode != "DISABLED"][#if (adc0_wdt13_ac>=24) && adc0_wdt13_ac<32] | ADC_WDT13 << ADC_CWSEL3_WSEL_CHN(${adc0_wdt13_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_14.mode.value[0]??][#if adc0_wdt14_mode != "DISABLED"][#if (adc0_wdt14_ac>=24) && adc0_wdt14_ac<32] | ADC_WDT14 << ADC_CWSEL3_WSEL_CHN(${adc0_wdt14_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_15.mode.value[0]??][#if adc0_wdt15_mode != "DISABLED"][#if (adc0_wdt15_ac>=24) && adc0_wdt15_ac<32] | ADC_WDT15 << ADC_CWSEL3_WSEL_CHN(${adc0_wdt15_ac})[/#if][/#if][/#if],
    0[#if group.watchdog_thresholds_configuration.threshold_0.mode.value[0]??][#if adc0_wdt0_mode != "DISABLED"][#if (adc0_wdt0_ac>=32) && adc0_wdt0_ac<40] | ADC_WDT0 << ADC_CWSEL3_WSEL_CHN(${adc0_wdt0_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_1.mode.value[0]??][#if adc0_wdt1_mode != "DISABLED"][#if (adc0_wdt1_ac>=32) && adc0_wdt1_ac<40] | ADC_WDT1 << ADC_CWSEL4_WSEL_CHN(${adc0_wdt1_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_2.mode.value[0]??][#if adc0_wdt2_mode != "DISABLED"][#if (adc0_wdt2_ac>=32) && adc0_wdt2_ac<40] | ADC_WDT2 << ADC_CWSEL4_WSEL_CHN(${adc0_wdt2_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_3.mode.value[0]??][#if adc0_wdt3_mode != "DISABLED"][#if (adc0_wdt3_ac>=32) && adc0_wdt3_ac<40] | ADC_WDT3 << ADC_CWSEL4_WSEL_CHN(${adc0_wdt3_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_4.mode.value[0]??][#if adc0_wdt4_mode != "DISABLED"][#if (adc0_wdt4_ac>=32) && adc0_wdt4_ac<40] | ADC_WDT4 << ADC_CWSEL4_WSEL_CHN(${adc0_wdt4_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_5.mode.value[0]??][#if adc0_wdt5_mode != "DISABLED"][#if (adc0_wdt5_ac>=32) && adc0_wdt5_ac<40] | ADC_WDT5 << ADC_CWSEL4_WSEL_CHN(${adc0_wdt5_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_6.mode.value[0]??][#if adc0_wdt6_mode != "DISABLED"][#if (adc0_wdt6_ac>=32) && adc0_wdt6_ac<40] | ADC_WDT6 << ADC_CWSEL4_WSEL_CHN(${adc0_wdt6_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_7.mode.value[0]??][#if adc0_wdt7_mode != "DISABLED"][#if (adc0_wdt7_ac>=32) && adc0_wdt7_ac<40] | ADC_WDT7 << ADC_CWSEL4_WSEL_CHN(${adc0_wdt7_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_8.mode.value[0]??][#if adc0_wdt8_mode != "DISABLED"][#if (adc0_wdt8_ac>=32) && adc0_wdt8_ac<40] | ADC_WDT8 << ADC_CWSEL4_WSEL_CHN(${adc0_wdt8_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_9.mode.value[0]??][#if adc0_wdt9_mode != "DISABLED"][#if (adc0_wdt9_ac>=32) && adc0_wdt9_ac<40] | ADC_WDT9 << ADC_CWSEL4_WSEL_CHN(${adc0_wdt9_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_10.mode.value[0]??][#if adc0_wdt10_mode != "DISABLED"][#if (adc0_wdt10_ac>=32) && adc0_wdt10_ac<40] | ADC_WDT10 << ADC_CWSEL4_WSEL_CHN(${adc0_wdt10_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_11.mode.value[0]??][#if adc0_wdt11_mode != "DISABLED"][#if (adc0_wdt11_ac>=32) && adc0_wdt11_ac<40] | ADC_WDT11 << ADC_CWSEL4_WSEL_CHN(${adc0_wdt11_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_12.mode.value[0]??][#if adc0_wdt12_mode != "DISABLED"][#if (adc0_wdt12_ac>=32) && adc0_wdt12_ac<40] | ADC_WDT12 << ADC_CWSEL4_WSEL_CHN(${adc0_wdt12_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_13.mode.value[0]??][#if adc0_wdt13_mode != "DISABLED"][#if (adc0_wdt13_ac>=32) && adc0_wdt13_ac<40] | ADC_WDT13 << ADC_CWSEL4_WSEL_CHN(${adc0_wdt13_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_14.mode.value[0]??][#if adc0_wdt14_mode != "DISABLED"][#if (adc0_wdt14_ac>=32) && adc0_wdt14_ac<40] | ADC_WDT14 << ADC_CWSEL4_WSEL_CHN(${adc0_wdt14_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_15.mode.value[0]??][#if adc0_wdt15_mode != "DISABLED"][#if (adc0_wdt15_ac>=32) && adc0_wdt15_ac<40] | ADC_WDT15 << ADC_CWSEL4_WSEL_CHN(${adc0_wdt15_ac})[/#if][/#if][/#if],
    0[#if group.watchdog_thresholds_configuration.threshold_0.mode.value[0]??][#if adc0_wdt0_mode != "DISABLED"][#if (adc0_wdt0_ac>=40) && adc0_wdt0_ac<48] | ADC_WDT0 << ADC_CWSEL5_WSEL_CHN(${adc0_wdt0_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_1.mode.value[0]??][#if adc0_wdt1_mode != "DISABLED"][#if (adc0_wdt1_ac>=40) && adc0_wdt1_ac<48] | ADC_WDT1 << ADC_CWSEL5_WSEL_CHN(${adc0_wdt1_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_2.mode.value[0]??][#if adc0_wdt2_mode != "DISABLED"][#if (adc0_wdt2_ac>=40) && adc0_wdt2_ac<48] | ADC_WDT2 << ADC_CWSEL5_WSEL_CHN(${adc0_wdt2_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_3.mode.value[0]??][#if adc0_wdt3_mode != "DISABLED"][#if (adc0_wdt3_ac>=40) && adc0_wdt3_ac<48] | ADC_WDT3 << ADC_CWSEL5_WSEL_CHN(${adc0_wdt3_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_4.mode.value[0]??][#if adc0_wdt4_mode != "DISABLED"][#if (adc0_wdt4_ac>=40) && adc0_wdt4_ac<48] | ADC_WDT4 << ADC_CWSEL5_WSEL_CHN(${adc0_wdt4_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_5.mode.value[0]??][#if adc0_wdt5_mode != "DISABLED"][#if (adc0_wdt5_ac>=40) && adc0_wdt5_ac<48] | ADC_WDT5 << ADC_CWSEL5_WSEL_CHN(${adc0_wdt5_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_6.mode.value[0]??][#if adc0_wdt6_mode != "DISABLED"][#if (adc0_wdt6_ac>=40) && adc0_wdt6_ac<48] | ADC_WDT6 << ADC_CWSEL5_WSEL_CHN(${adc0_wdt6_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_7.mode.value[0]??][#if adc0_wdt7_mode != "DISABLED"][#if (adc0_wdt7_ac>=40) && adc0_wdt7_ac<48] | ADC_WDT7 << ADC_CWSEL5_WSEL_CHN(${adc0_wdt7_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_8.mode.value[0]??][#if adc0_wdt8_mode != "DISABLED"][#if (adc0_wdt8_ac>=40) && adc0_wdt8_ac<48] | ADC_WDT8 << ADC_CWSEL5_WSEL_CHN(${adc0_wdt8_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_9.mode.value[0]??][#if adc0_wdt9_mode != "DISABLED"][#if (adc0_wdt9_ac>=40) && adc0_wdt9_ac<48] | ADC_WDT9 << ADC_CWSEL5_WSEL_CHN(${adc0_wdt9_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_10.mode.value[0]??][#if adc0_wdt10_mode != "DISABLED"][#if (adc0_wdt10_ac>=40) && adc0_wdt10_ac<48] | ADC_WDT10 << ADC_CWSEL5_WSEL_CHN(${adc0_wdt10_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_11.mode.value[0]??][#if adc0_wdt11_mode != "DISABLED"][#if (adc0_wdt11_ac>=40) && adc0_wdt11_ac<48] | ADC_WDT11 << ADC_CWSEL5_WSEL_CHN(${adc0_wdt11_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_12.mode.value[0]??][#if adc0_wdt12_mode != "DISABLED"][#if (adc0_wdt12_ac>=40) && adc0_wdt12_ac<48] | ADC_WDT12 << ADC_CWSEL5_WSEL_CHN(${adc0_wdt12_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_13.mode.value[0]??][#if adc0_wdt13_mode != "DISABLED"][#if (adc0_wdt13_ac>=40) && adc0_wdt13_ac<48] | ADC_WDT13 << ADC_CWSEL5_WSEL_CHN(${adc0_wdt13_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_14.mode.value[0]??][#if adc0_wdt14_mode != "DISABLED"][#if (adc0_wdt14_ac>=40) && adc0_wdt14_ac<48] | ADC_WDT14 << ADC_CWSEL5_WSEL_CHN(${adc0_wdt14_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_15.mode.value[0]??][#if adc0_wdt15_mode != "DISABLED"][#if (adc0_wdt15_ac>=40) && adc0_wdt15_ac<48] | ADC_WDT15 << ADC_CWSEL5_WSEL_CHN(${adc0_wdt15_ac})[/#if][/#if][/#if],
    0[#if group.watchdog_thresholds_configuration.threshold_0.mode.value[0]??][#if adc0_wdt0_mode != "DISABLED"][#if (adc0_wdt0_ac>=48) && adc0_wdt0_ac<56] | ADC_WDT0 << ADC_CWSEL6_WSEL_CHN(${adc0_wdt0_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_1.mode.value[0]??][#if adc0_wdt1_mode != "DISABLED"][#if (adc0_wdt1_ac>=48) && adc0_wdt1_ac<56] | ADC_WDT1 << ADC_CWSEL6_WSEL_CHN(${adc0_wdt1_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_2.mode.value[0]??][#if adc0_wdt2_mode != "DISABLED"][#if (adc0_wdt2_ac>=48) && adc0_wdt2_ac<56] | ADC_WDT2 << ADC_CWSEL6_WSEL_CHN(${adc0_wdt2_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_3.mode.value[0]??][#if adc0_wdt3_mode != "DISABLED"][#if (adc0_wdt3_ac>=48) && adc0_wdt3_ac<56] | ADC_WDT3 << ADC_CWSEL6_WSEL_CHN(${adc0_wdt3_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_4.mode.value[0]??][#if adc0_wdt4_mode != "DISABLED"][#if (adc0_wdt4_ac>=48) && adc0_wdt4_ac<56] | ADC_WDT4 << ADC_CWSEL6_WSEL_CHN(${adc0_wdt4_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_5.mode.value[0]??][#if adc0_wdt5_mode != "DISABLED"][#if (adc0_wdt5_ac>=48) && adc0_wdt5_ac<56] | ADC_WDT5 << ADC_CWSEL6_WSEL_CHN(${adc0_wdt5_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_6.mode.value[0]??][#if adc0_wdt6_mode != "DISABLED"][#if (adc0_wdt6_ac>=48) && adc0_wdt6_ac<56] | ADC_WDT6 << ADC_CWSEL6_WSEL_CHN(${adc0_wdt6_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_7.mode.value[0]??][#if adc0_wdt7_mode != "DISABLED"][#if (adc0_wdt7_ac>=48) && adc0_wdt7_ac<56] | ADC_WDT7 << ADC_CWSEL6_WSEL_CHN(${adc0_wdt7_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_8.mode.value[0]??][#if adc0_wdt8_mode != "DISABLED"][#if (adc0_wdt8_ac>=48) && adc0_wdt8_ac<56] | ADC_WDT8 << ADC_CWSEL6_WSEL_CHN(${adc0_wdt8_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_9.mode.value[0]??][#if adc0_wdt9_mode != "DISABLED"][#if (adc0_wdt9_ac>=48) && adc0_wdt9_ac<56] | ADC_WDT9 << ADC_CWSEL6_WSEL_CHN(${adc0_wdt9_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_10.mode.value[0]??][#if adc0_wdt10_mode != "DISABLED"][#if (adc0_wdt10_ac>=48) && adc0_wdt10_ac<56] | ADC_WDT10 << ADC_CWSEL6_WSEL_CHN(${adc0_wdt10_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_11.mode.value[0]??][#if adc0_wdt11_mode != "DISABLED"][#if (adc0_wdt11_ac>=48) && adc0_wdt11_ac<56] | ADC_WDT11 << ADC_CWSEL6_WSEL_CHN(${adc0_wdt11_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_12.mode.value[0]??][#if adc0_wdt12_mode != "DISABLED"][#if (adc0_wdt12_ac>=48) && adc0_wdt12_ac<56] | ADC_WDT12 << ADC_CWSEL6_WSEL_CHN(${adc0_wdt12_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_13.mode.value[0]??][#if adc0_wdt13_mode != "DISABLED"][#if (adc0_wdt13_ac>=48) && adc0_wdt13_ac<56] | ADC_WDT13 << ADC_CWSEL6_WSEL_CHN(${adc0_wdt13_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_14.mode.value[0]??][#if adc0_wdt14_mode != "DISABLED"][#if (adc0_wdt14_ac>=48) && adc0_wdt14_ac<56] | ADC_WDT14 << ADC_CWSEL6_WSEL_CHN(${adc0_wdt14_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_15.mode.value[0]??][#if adc0_wdt15_mode != "DISABLED"][#if (adc0_wdt15_ac>=48) && adc0_wdt15_ac<56] | ADC_WDT15 << ADC_CWSEL6_WSEL_CHN(${adc0_wdt15_ac})[/#if][/#if][/#if],
    0[#if group.watchdog_thresholds_configuration.threshold_0.mode.value[0]??][#if adc0_wdt0_mode != "DISABLED"][#if (adc0_wdt0_ac>=56) && adc0_wdt0_ac<64] | ADC_WDT0 << ADC_CWSEL7_WSEL_CHN(${adc0_wdt0_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_1.mode.value[0]??][#if adc0_wdt1_mode != "DISABLED"][#if (adc0_wdt1_ac>=56) && adc0_wdt1_ac<64] | ADC_WDT1 << ADC_CWSEL7_WSEL_CHN(${adc0_wdt1_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_2.mode.value[0]??][#if adc0_wdt2_mode != "DISABLED"][#if (adc0_wdt2_ac>=56) && adc0_wdt2_ac<64] | ADC_WDT2 << ADC_CWSEL7_WSEL_CHN(${adc0_wdt2_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_3.mode.value[0]??][#if adc0_wdt3_mode != "DISABLED"][#if (adc0_wdt3_ac>=56) && adc0_wdt3_ac<64] | ADC_WDT3 << ADC_CWSEL7_WSEL_CHN(${adc0_wdt3_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_4.mode.value[0]??][#if adc0_wdt4_mode != "DISABLED"][#if (adc0_wdt4_ac>=56) && adc0_wdt4_ac<64] | ADC_WDT4 << ADC_CWSEL7_WSEL_CHN(${adc0_wdt4_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_5.mode.value[0]??][#if adc0_wdt5_mode != "DISABLED"][#if (adc0_wdt5_ac>=56) && adc0_wdt5_ac<64] | ADC_WDT5 << ADC_CWSEL7_WSEL_CHN(${adc0_wdt5_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_6.mode.value[0]??][#if adc0_wdt6_mode != "DISABLED"][#if (adc0_wdt6_ac>=56) && adc0_wdt6_ac<64] | ADC_WDT6 << ADC_CWSEL7_WSEL_CHN(${adc0_wdt6_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_7.mode.value[0]??][#if adc0_wdt7_mode != "DISABLED"][#if (adc0_wdt7_ac>=56) && adc0_wdt7_ac<64] | ADC_WDT7 << ADC_CWSEL7_WSEL_CHN(${adc0_wdt7_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_8.mode.value[0]??][#if adc0_wdt8_mode != "DISABLED"][#if (adc0_wdt8_ac>=56) && adc0_wdt8_ac<64] | ADC_WDT8 << ADC_CWSEL7_WSEL_CHN(${adc0_wdt8_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_9.mode.value[0]??][#if adc0_wdt9_mode != "DISABLED"][#if (adc0_wdt9_ac>=56) && adc0_wdt9_ac<64] | ADC_WDT9 << ADC_CWSEL7_WSEL_CHN(${adc0_wdt9_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_10.mode.value[0]??][#if adc0_wdt10_mode != "DISABLED"][#if (adc0_wdt10_ac>=56) && adc0_wdt10_ac<64] | ADC_WDT10 << ADC_CWSEL7_WSEL_CHN(${adc0_wdt10_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_11.mode.value[0]??][#if adc0_wdt11_mode != "DISABLED"][#if (adc0_wdt11_ac>=56) && adc0_wdt11_ac<64] | ADC_WDT11 << ADC_CWSEL7_WSEL_CHN(${adc0_wdt11_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_12.mode.value[0]??][#if adc0_wdt12_mode != "DISABLED"][#if (adc0_wdt12_ac>=56) && adc0_wdt12_ac<64] | ADC_WDT12 << ADC_CWSEL7_WSEL_CHN(${adc0_wdt12_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_13.mode.value[0]??][#if adc0_wdt13_mode != "DISABLED"][#if (adc0_wdt13_ac>=56) && adc0_wdt13_ac<64] | ADC_WDT13 << ADC_CWSEL7_WSEL_CHN(${adc0_wdt13_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_14.mode.value[0]??][#if adc0_wdt14_mode != "DISABLED"][#if (adc0_wdt14_ac>=56) && adc0_wdt14_ac<64] | ADC_WDT14 << ADC_CWSEL7_WSEL_CHN(${adc0_wdt14_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_15.mode.value[0]??][#if adc0_wdt15_mode != "DISABLED"][#if (adc0_wdt15_ac>=56) && adc0_wdt15_ac<64] | ADC_WDT15 << ADC_CWSEL7_WSEL_CHN(${adc0_wdt15_ac})[/#if][/#if][/#if],
    0[#if group.watchdog_thresholds_configuration.threshold_0.mode.value[0]??][#if adc0_wdt0_mode != "DISABLED"][#if (adc0_wdt0_ac>=64) && adc0_wdt0_ac<72] | ADC_WDT0 << ADC_CWSEL8_WSEL_CHN(${adc0_wdt0_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_1.mode.value[0]??][#if adc0_wdt1_mode != "DISABLED"][#if (adc0_wdt1_ac>=64) && adc0_wdt1_ac<72] | ADC_WDT1 << ADC_CWSEL8_WSEL_CHN(${adc0_wdt1_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_2.mode.value[0]??][#if adc0_wdt2_mode != "DISABLED"][#if (adc0_wdt2_ac>=64) && adc0_wdt2_ac<72] | ADC_WDT2 << ADC_CWSEL8_WSEL_CHN(${adc0_wdt2_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_3.mode.value[0]??][#if adc0_wdt3_mode != "DISABLED"][#if (adc0_wdt3_ac>=64) && adc0_wdt3_ac<72] | ADC_WDT3 << ADC_CWSEL8_WSEL_CHN(${adc0_wdt3_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_4.mode.value[0]??][#if adc0_wdt4_mode != "DISABLED"][#if (adc0_wdt4_ac>=64) && adc0_wdt4_ac<72] | ADC_WDT4 << ADC_CWSEL8_WSEL_CHN(${adc0_wdt4_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_5.mode.value[0]??][#if adc0_wdt5_mode != "DISABLED"][#if (adc0_wdt5_ac>=64) && adc0_wdt5_ac<72] | ADC_WDT5 << ADC_CWSEL8_WSEL_CHN(${adc0_wdt5_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_6.mode.value[0]??][#if adc0_wdt6_mode != "DISABLED"][#if (adc0_wdt6_ac>=64) && adc0_wdt6_ac<72] | ADC_WDT6 << ADC_CWSEL8_WSEL_CHN(${adc0_wdt6_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_7.mode.value[0]??][#if adc0_wdt7_mode != "DISABLED"][#if (adc0_wdt7_ac>=64) && adc0_wdt7_ac<72] | ADC_WDT7 << ADC_CWSEL8_WSEL_CHN(${adc0_wdt7_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_8.mode.value[0]??][#if adc0_wdt8_mode != "DISABLED"][#if (adc0_wdt8_ac>=64) && adc0_wdt8_ac<72] | ADC_WDT8 << ADC_CWSEL8_WSEL_CHN(${adc0_wdt8_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_9.mode.value[0]??][#if adc0_wdt9_mode != "DISABLED"][#if (adc0_wdt9_ac>=64) && adc0_wdt9_ac<72] | ADC_WDT9 << ADC_CWSEL8_WSEL_CHN(${adc0_wdt9_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_10.mode.value[0]??][#if adc0_wdt10_mode != "DISABLED"][#if (adc0_wdt10_ac>=64) && adc0_wdt10_ac<72] | ADC_WDT10 << ADC_CWSEL8_WSEL_CHN(${adc0_wdt10_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_11.mode.value[0]??][#if adc0_wdt11_mode != "DISABLED"][#if (adc0_wdt11_ac>=64) && adc0_wdt11_ac<72] | ADC_WDT11 << ADC_CWSEL8_WSEL_CHN(${adc0_wdt11_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_12.mode.value[0]??][#if adc0_wdt12_mode != "DISABLED"][#if (adc0_wdt12_ac>=64) && adc0_wdt12_ac<72] | ADC_WDT12 << ADC_CWSEL8_WSEL_CHN(${adc0_wdt12_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_13.mode.value[0]??][#if adc0_wdt13_mode != "DISABLED"][#if (adc0_wdt13_ac>=64) && adc0_wdt13_ac<72] | ADC_WDT13 << ADC_CWSEL8_WSEL_CHN(${adc0_wdt13_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_14.mode.value[0]??][#if adc0_wdt14_mode != "DISABLED"][#if (adc0_wdt14_ac>=64) && adc0_wdt14_ac<72] | ADC_WDT14 << ADC_CWSEL8_WSEL_CHN(${adc0_wdt14_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_15.mode.value[0]??][#if adc0_wdt15_mode != "DISABLED"][#if (adc0_wdt15_ac>=64) && adc0_wdt15_ac<72] | ADC_WDT15 << ADC_CWSEL8_WSEL_CHN(${adc0_wdt15_ac})[/#if][/#if][/#if],
    0[#if group.watchdog_thresholds_configuration.threshold_0.mode.value[0]??][#if adc0_wdt0_mode != "DISABLED"][#if (adc0_wdt0_ac>=72) && adc0_wdt0_ac<80] | ADC_WDT0 << ADC_CWSEL9_WSEL_CHN(${adc0_wdt0_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_1.mode.value[0]??][#if adc0_wdt1_mode != "DISABLED"][#if (adc0_wdt1_ac>=72) && adc0_wdt1_ac<80] | ADC_WDT1 << ADC_CWSEL9_WSEL_CHN(${adc0_wdt1_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_2.mode.value[0]??][#if adc0_wdt2_mode != "DISABLED"][#if (adc0_wdt2_ac>=72) && adc0_wdt2_ac<80] | ADC_WDT2 << ADC_CWSEL9_WSEL_CHN(${adc0_wdt2_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_3.mode.value[0]??][#if adc0_wdt3_mode != "DISABLED"][#if (adc0_wdt3_ac>=72) && adc0_wdt3_ac<80] | ADC_WDT3 << ADC_CWSEL9_WSEL_CHN(${adc0_wdt3_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_4.mode.value[0]??][#if adc0_wdt4_mode != "DISABLED"][#if (adc0_wdt4_ac>=72) && adc0_wdt4_ac<80] | ADC_WDT4 << ADC_CWSEL9_WSEL_CHN(${adc0_wdt4_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_5.mode.value[0]??][#if adc0_wdt5_mode != "DISABLED"][#if (adc0_wdt5_ac>=72) && adc0_wdt5_ac<80] | ADC_WDT5 << ADC_CWSEL9_WSEL_CHN(${adc0_wdt5_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_6.mode.value[0]??][#if adc0_wdt6_mode != "DISABLED"][#if (adc0_wdt6_ac>=72) && adc0_wdt6_ac<80] | ADC_WDT6 << ADC_CWSEL9_WSEL_CHN(${adc0_wdt6_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_7.mode.value[0]??][#if adc0_wdt7_mode != "DISABLED"][#if (adc0_wdt7_ac>=72) && adc0_wdt7_ac<80] | ADC_WDT7 << ADC_CWSEL9_WSEL_CHN(${adc0_wdt7_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_8.mode.value[0]??][#if adc0_wdt8_mode != "DISABLED"][#if (adc0_wdt8_ac>=72) && adc0_wdt8_ac<80] | ADC_WDT8 << ADC_CWSEL9_WSEL_CHN(${adc0_wdt8_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_9.mode.value[0]??][#if adc0_wdt9_mode != "DISABLED"][#if (adc0_wdt9_ac>=72) && adc0_wdt9_ac<80] | ADC_WDT9 << ADC_CWSEL9_WSEL_CHN(${adc0_wdt9_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_10.mode.value[0]??][#if adc0_wdt10_mode != "DISABLED"][#if (adc0_wdt10_ac>=72) && adc0_wdt10_ac<80] | ADC_WDT10 << ADC_CWSEL9_WSEL_CHN(${adc0_wdt10_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_11.mode.value[0]??][#if adc0_wdt11_mode != "DISABLED"][#if (adc0_wdt11_ac>=72) && adc0_wdt11_ac<80] | ADC_WDT11 << ADC_CWSEL9_WSEL_CHN(${adc0_wdt11_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_12.mode.value[0]??][#if adc0_wdt12_mode != "DISABLED"][#if (adc0_wdt12_ac>=72) && adc0_wdt12_ac<80] | ADC_WDT12 << ADC_CWSEL9_WSEL_CHN(${adc0_wdt12_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_13.mode.value[0]??][#if adc0_wdt13_mode != "DISABLED"][#if (adc0_wdt13_ac>=72) && adc0_wdt13_ac<80] | ADC_WDT13 << ADC_CWSEL9_WSEL_CHN(${adc0_wdt13_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_14.mode.value[0]??][#if adc0_wdt14_mode != "DISABLED"][#if (adc0_wdt14_ac>=72) && adc0_wdt14_ac<80] | ADC_WDT14 << ADC_CWSEL9_WSEL_CHN(${adc0_wdt14_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_15.mode.value[0]??][#if adc0_wdt15_mode != "DISABLED"][#if (adc0_wdt15_ac>=72) && adc0_wdt15_ac<80] | ADC_WDT15 << ADC_CWSEL9_WSEL_CHN(${adc0_wdt15_ac})[/#if][/#if][/#if],
    0[#if group.watchdog_thresholds_configuration.threshold_0.mode.value[0]??][#if adc0_wdt0_mode != "DISABLED"][#if (adc0_wdt0_ac>=80) && adc0_wdt0_ac<88] | ADC_WDT0 << ADC_CWSEL10_WSEL_CHN(${adc0_wdt0_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_1.mode.value[0]??][#if adc0_wdt1_mode != "DISABLED"][#if (adc0_wdt1_ac>=80) && adc0_wdt1_ac<88] | ADC_WDT1 << ADC_CWSEL10_WSEL_CHN(${adc0_wdt1_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_2.mode.value[0]??][#if adc0_wdt2_mode != "DISABLED"][#if (adc0_wdt2_ac>=80) && adc0_wdt2_ac<88] | ADC_WDT2 << ADC_CWSEL10_WSEL_CHN(${adc0_wdt2_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_3.mode.value[0]??][#if adc0_wdt3_mode != "DISABLED"][#if (adc0_wdt3_ac>=80) && adc0_wdt3_ac<88] | ADC_WDT3 << ADC_CWSEL10_WSEL_CHN(${adc0_wdt3_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_4.mode.value[0]??][#if adc0_wdt4_mode != "DISABLED"][#if (adc0_wdt4_ac>=80) && adc0_wdt4_ac<88] | ADC_WDT4 << ADC_CWSEL10_WSEL_CHN(${adc0_wdt4_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_5.mode.value[0]??][#if adc0_wdt5_mode != "DISABLED"][#if (adc0_wdt5_ac>=80) && adc0_wdt5_ac<88] | ADC_WDT5 << ADC_CWSEL10_WSEL_CHN(${adc0_wdt5_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_6.mode.value[0]??][#if adc0_wdt6_mode != "DISABLED"][#if (adc0_wdt6_ac>=80) && adc0_wdt6_ac<88] | ADC_WDT6 << ADC_CWSEL10_WSEL_CHN(${adc0_wdt6_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_7.mode.value[0]??][#if adc0_wdt7_mode != "DISABLED"][#if (adc0_wdt7_ac>=80) && adc0_wdt7_ac<88] | ADC_WDT7 << ADC_CWSEL10_WSEL_CHN(${adc0_wdt7_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_8.mode.value[0]??][#if adc0_wdt8_mode != "DISABLED"][#if (adc0_wdt8_ac>=80) && adc0_wdt8_ac<88] | ADC_WDT8 << ADC_CWSEL10_WSEL_CHN(${adc0_wdt8_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_9.mode.value[0]??][#if adc0_wdt9_mode != "DISABLED"][#if (adc0_wdt9_ac>=80) && adc0_wdt9_ac<88] | ADC_WDT9 << ADC_CWSEL10_WSEL_CHN(${adc0_wdt9_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_10.mode.value[0]??][#if adc0_wdt10_mode != "DISABLED"][#if (adc0_wdt10_ac>=80) && adc0_wdt10_ac<88] | ADC_WDT10 << ADC_CWSEL10_WSEL_CHN(${adc0_wdt10_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_11.mode.value[0]??][#if adc0_wdt11_mode != "DISABLED"][#if (adc0_wdt11_ac>=80) && adc0_wdt11_ac<88] | ADC_WDT11 << ADC_CWSEL10_WSEL_CHN(${adc0_wdt11_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_12.mode.value[0]??][#if adc0_wdt12_mode != "DISABLED"][#if (adc0_wdt12_ac>=80) && adc0_wdt12_ac<88] | ADC_WDT12 << ADC_CWSEL10_WSEL_CHN(${adc0_wdt12_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_13.mode.value[0]??][#if adc0_wdt13_mode != "DISABLED"][#if (adc0_wdt13_ac>=80) && adc0_wdt13_ac<88] | ADC_WDT13 << ADC_CWSEL10_WSEL_CHN(${adc0_wdt13_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_14.mode.value[0]??][#if adc0_wdt14_mode != "DISABLED"][#if (adc0_wdt14_ac>=80) && adc0_wdt14_ac<88] | ADC_WDT14 << ADC_CWSEL10_WSEL_CHN(${adc0_wdt14_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_15.mode.value[0]??][#if adc0_wdt15_mode != "DISABLED"][#if (adc0_wdt15_ac>=80) && adc0_wdt15_ac<88] | ADC_WDT15 << ADC_CWSEL10_WSEL_CHN(${adc0_wdt15_ac})[/#if][/#if][/#if],
    0[#if group.watchdog_thresholds_configuration.threshold_0.mode.value[0]??][#if adc0_wdt0_mode != "DISABLED"][#if (adc0_wdt0_ac>=88) && adc0_wdt0_ac<96] | ADC_WDT0 << ADC_CWSEL11_WSEL_CHN(${adc0_wdt0_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_1.mode.value[0]??][#if adc0_wdt1_mode != "DISABLED"][#if (adc0_wdt1_ac>=88) && adc0_wdt1_ac<96] | ADC_WDT1 << ADC_CWSEL11_WSEL_CHN(${adc0_wdt1_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_2.mode.value[0]??][#if adc0_wdt2_mode != "DISABLED"][#if (adc0_wdt2_ac>=88) && adc0_wdt2_ac<96] | ADC_WDT2 << ADC_CWSEL11_WSEL_CHN(${adc0_wdt2_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_3.mode.value[0]??][#if adc0_wdt3_mode != "DISABLED"][#if (adc0_wdt3_ac>=88) && adc0_wdt3_ac<96] | ADC_WDT3 << ADC_CWSEL11_WSEL_CHN(${adc0_wdt3_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_4.mode.value[0]??][#if adc0_wdt4_mode != "DISABLED"][#if (adc0_wdt4_ac>=88) && adc0_wdt4_ac<96] | ADC_WDT4 << (ADC_CWSEL11_WSEL_CHN(${adc0_wdt4_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_5.mode.value[0]??][#if adc0_wdt5_mode != "DISABLED"][#if (adc0_wdt5_ac>=88) && adc0_wdt5_ac<96] | ADC_WDT5 << (ADC_CWSEL11_WSEL_CHN(${adc0_wdt5_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_6.mode.value[0]??][#if adc0_wdt6_mode != "DISABLED"][#if (adc0_wdt6_ac>=88) && adc0_wdt6_ac<96] | ADC_WDT6 << ADC_CWSEL11_WSEL_CHN(${adc0_wdt6_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_7.mode.value[0]??][#if adc0_wdt7_mode != "DISABLED"][#if (adc0_wdt7_ac>=88) && adc0_wdt7_ac<96] | ADC_WDT7 << ADC_CWSEL11_WSEL_CHN(${adc0_wdt7_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_8.mode.value[0]??][#if adc0_wdt8_mode != "DISABLED"][#if (adc0_wdt8_ac>=88) && adc0_wdt8_ac<96] | ADC_WDT8 << ADC_CWSEL11_WSEL_CHN(${adc0_wdt8_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_9.mode.value[0]??][#if adc0_wdt9_mode != "DISABLED"][#if (adc0_wdt9_ac>=88) && adc0_wdt9_ac<96] | ADC_WDT9 << ADC_CWSEL11_WSEL_CHN(${adc0_wdt9_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_10.mode.value[0]??][#if adc0_wdt10_mode != "DISABLED"][#if (adc0_wdt10_ac>=88) && adc0_wdt10_ac<96] | ADC_WDT10 << ADC_CWSEL11_WSEL_CHN(${adc0_wdt10_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_11.mode.value[0]??][#if adc0_wdt11_mode != "DISABLED"][#if (adc0_wdt11_ac>=88) && adc0_wdt11_ac<96] | ADC_WDT11 << ADC_CWSEL11_WSEL_CHN(${adc0_wdt11_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_12.mode.value[0]??][#if adc0_wdt12_mode != "DISABLED"][#if (adc0_wdt12_ac>=88) && adc0_wdt12_ac<96] | ADC_WDT12 << ADC_CWSEL11_WSEL_CHN(${adc0_wdt12_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_13.mode.value[0]??][#if adc0_wdt13_mode != "DISABLED"][#if (adc0_wdt13_ac>=88) && adc0_wdt13_ac<96] | ADC_WDT13 << ADC_CWSEL11_WSEL_CHN(${adc0_wdt13_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_14.mode.value[0]??][#if adc0_wdt14_mode != "DISABLED"][#if (adc0_wdt14_ac>=88) && adc0_wdt14_ac<96] | ADC_WDT14 << ADC_CWSEL11_WSEL_CHN(${adc0_wdt14_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_15.mode.value[0]??][#if adc0_wdt15_mode != "DISABLED"][#if (adc0_wdt15_ac>=88) && adc0_wdt15_ac<96] | ADC_WDT15 << ADC_CWSEL11_WSEL_CHN(${adc0_wdt15_ac})[/#if][/#if][/#if],
  },
  {
    [#if group.watchdog_thresholds_configuration.threshold_0.mode.value[0]??]ADC_THRHLR_THRH(${adc0_wdt0_htv}) | ADC_THRHLR_THRL(${adc0_wdt0_ltv})[#else]0xFFFF0000[/#if],
    [#if group.watchdog_thresholds_configuration.threshold_1.mode.value[0]??]ADC_THRHLR_THRH(${adc0_wdt1_htv}) | ADC_THRHLR_THRL(${adc0_wdt1_ltv})[#else]0xFFFF0000[/#if],
    [#if group.watchdog_thresholds_configuration.threshold_2.mode.value[0]??]ADC_THRHLR_THRH(${adc0_wdt2_htv}) | ADC_THRHLR_THRL(${adc0_wdt2_ltv})[#else]0xFFFF0000[/#if],
    [#if group.watchdog_thresholds_configuration.threshold_3.mode.value[0]??]ADC_THRHLR_THRH(${adc0_wdt3_htv}) | ADC_THRHLR_THRL(${adc0_wdt3_ltv})[#else]0xFFFF0000[/#if],
    [#if group.watchdog_thresholds_configuration.threshold_4.mode.value[0]??]ADC_THRHLR_THRH(${adc0_wdt4_htv}) | ADC_THRHLR_THRL(${adc0_wdt4_ltv})[#else]0xFFFF0000[/#if],
    [#if group.watchdog_thresholds_configuration.threshold_5.mode.value[0]??]ADC_THRHLR_THRH(${adc0_wdt5_htv}) | ADC_THRHLR_THRL(${adc0_wdt5_ltv})[#else]0xFFFF0000[/#if],
    [#if group.watchdog_thresholds_configuration.threshold_6.mode.value[0]??]ADC_THRHLR_THRH(${adc0_wdt6_htv}) | ADC_THRHLR_THRL(${adc0_wdt6_ltv})[#else]0xFFFF0000[/#if],
    [#if group.watchdog_thresholds_configuration.threshold_7.mode.value[0]??]ADC_THRHLR_THRH(${adc0_wdt7_htv}) | ADC_THRHLR_THRL(${adc0_wdt7_ltv})[#else]0xFFFF0000[/#if],
    [#if group.watchdog_thresholds_configuration.threshold_8.mode.value[0]??]ADC_THRHLR_THRH(${adc0_wdt8_htv}) | ADC_THRHLR_THRL(${adc0_wdt8_ltv})[#else]0xFFFF0000[/#if],
    [#if group.watchdog_thresholds_configuration.threshold_9.mode.value[0]??]ADC_THRHLR_THRH(${adc0_wdt9_htv}) | ADC_THRHLR_THRL(${adc0_wdt9_ltv})[#else]0xFFFF0000[/#if],
    [#if group.watchdog_thresholds_configuration.threshold_10.mode.value[0]??]ADC_THRHLR_THRH(${adc0_wdt10_htv}) | ADC_THRHLR_THRL(${adc0_wdt10_ltv})[#else]0xFFFF0000[/#if],
    [#if group.watchdog_thresholds_configuration.threshold_11.mode.value[0]??]ADC_THRHLR_THRH(${adc0_wdt11_htv}) | ADC_THRHLR_THRL(${adc0_wdt11_ltv})[#else]0xFFFF0000[/#if],
    [#if group.watchdog_thresholds_configuration.threshold_12.mode.value[0]??]ADC_THRHLR_THRH(${adc0_wdt12_htv}) | ADC_THRHLR_THRL(${adc0_wdt12_ltv})[#else]0xFFFF0000[/#if],
    [#if group.watchdog_thresholds_configuration.threshold_13.mode.value[0]??]ADC_THRHLR_THRH(${adc0_wdt13_htv}) | ADC_THRHLR_THRL(${adc0_wdt13_ltv})[#else]0xFFFF0000[/#if],
    [#if group.watchdog_thresholds_configuration.threshold_14.mode.value[0]??]ADC_THRHLR_THRH(${adc0_wdt14_htv}) | ADC_THRHLR_THRL(${adc0_wdt14_ltv})[#else]0xFFFF0000[/#if],
    [#if group.watchdog_thresholds_configuration.threshold_15.mode.value[0]??]ADC_THRHLR_THRH(${adc0_wdt15_htv}) | ADC_THRHLR_THRL(${adc0_wdt15_ltv})[#else]0xFFFF0000[/#if]
  },
  {
    0[#if group.watchdog_thresholds_configuration.threshold_0.mode.value[0]??][#if adc0_wdt0_mode != "DISABLED"][#if (adc0_wdt0_ac>=0) && adc0_wdt0_ac<32] | ADC_CWENR0_CWEN_CHN(${adc0_wdt0_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_1.mode.value[0]??][#if adc0_wdt1_mode != "DISABLED"][#if (adc0_wdt1_ac>=0) && adc0_wdt1_ac<32] | ADC_CWENR0_CWEN_CHN(${adc0_wdt1_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_2.mode.value[0]??][#if adc0_wdt2_mode != "DISABLED"][#if (adc0_wdt2_ac>=0) && adc0_wdt2_ac<32] | ADC_CWENR0_CWEN_CHN(${adc0_wdt2_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_3.mode.value[0]??][#if adc0_wdt3_mode != "DISABLED"][#if (adc0_wdt3_ac>=0) && adc0_wdt3_ac<32] | ADC_CWENR0_CWEN_CHN(${adc0_wdt3_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_4.mode.value[0]??][#if adc0_wdt4_mode != "DISABLED"][#if (adc0_wdt4_ac>=0) && adc0_wdt4_ac<32] | ADC_CWENR0_CWEN_CHN(${adc0_wdt4_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_5.mode.value[0]??][#if adc0_wdt5_mode != "DISABLED"][#if (adc0_wdt5_ac>=0) && adc0_wdt5_ac<32] | ADC_CWENR0_CWEN_CHN(${adc0_wdt5_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_6.mode.value[0]??][#if adc0_wdt6_mode != "DISABLED"][#if (adc0_wdt6_ac>=0) && adc0_wdt6_ac<32] | ADC_CWENR0_CWEN_CHN(${adc0_wdt6_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_7.mode.value[0]??][#if adc0_wdt7_mode != "DISABLED"][#if (adc0_wdt7_ac>=0) && adc0_wdt7_ac<32] | ADC_CWENR0_CWEN_CHN(${adc0_wdt7_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_8.mode.value[0]??][#if adc0_wdt8_mode != "DISABLED"][#if (adc0_wdt8_ac>=0) && adc0_wdt8_ac<32] | ADC_CWENR0_CWEN_CHN(${adc0_wdt8_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_9.mode.value[0]??][#if adc0_wdt9_mode != "DISABLED"][#if (adc0_wdt9_ac>=0) && adc0_wdt9_ac<32] | ADC_CWENR0_CWEN_CHN(${adc0_wdt9_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_10.mode.value[0]??][#if adc0_wdt10_mode != "DISABLED"][#if (adc0_wdt10_ac>=0) && adc0_wdt10_ac<32] | ADC_CWENR0_CWEN_CHN(${adc0_wdt10_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_11.mode.value[0]??][#if adc0_wdt11_mode != "DISABLED"][#if (adc0_wdt11_ac>=0) && adc0_wdt11_ac<32] | ADC_CWENR0_CWEN_CHN(${adc0_wdt11_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_12.mode.value[0]??][#if adc0_wdt12_mode != "DISABLED"][#if (adc0_wdt12_ac>=0) && adc0_wdt12_ac<32] | ADC_CWENR0_CWEN_CHN(${adc0_wdt12_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_13.mode.value[0]??][#if adc0_wdt13_mode != "DISABLED"][#if (adc0_wdt13_ac>=0) && adc0_wdt13_ac<32] | ADC_CWENR0_CWEN_CHN(${adc0_wdt13_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_14.mode.value[0]??][#if adc0_wdt14_mode != "DISABLED"][#if (adc0_wdt14_ac>=0) && adc0_wdt14_ac<32] | ADC_CWENR0_CWEN_CHN(${adc0_wdt14_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_15.mode.value[0]??][#if adc0_wdt15_mode != "DISABLED"][#if (adc0_wdt15_ac>=0) && adc0_wdt15_ac<32] | ADC_CWENR0_CWEN_CHN(${adc0_wdt15_ac})[/#if][/#if][/#if],
    0[#if group.watchdog_thresholds_configuration.threshold_0.mode.value[0]??][#if adc0_wdt0_mode != "DISABLED"][#if (adc0_wdt0_ac>=32) && adc0_wdt0_ac<64] | ADC_CWENR1_CWEN_CHN(${adc0_wdt0_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_1.mode.value[0]??][#if adc0_wdt1_mode != "DISABLED"][#if (adc0_wdt1_ac>=32) && adc0_wdt1_ac<64] | ADC_CWENR1_CWEN_CHN(${adc0_wdt1_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_2.mode.value[0]??][#if adc0_wdt2_mode != "DISABLED"][#if (adc0_wdt2_ac>=32) && adc0_wdt2_ac<64] | ADC_CWENR1_CWEN_CHN(${adc0_wdt2_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_3.mode.value[0]??][#if adc0_wdt3_mode != "DISABLED"][#if (adc0_wdt3_ac>=32) && adc0_wdt3_ac<64] | ADC_CWENR1_CWEN_CHN(${adc0_wdt3_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_4.mode.value[0]??][#if adc0_wdt4_mode != "DISABLED"][#if (adc0_wdt4_ac>=32) && adc0_wdt4_ac<64] | ADC_CWENR1_CWEN_CHN(${adc0_wdt4_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_5.mode.value[0]??][#if adc0_wdt5_mode != "DISABLED"][#if (adc0_wdt5_ac>=32) && adc0_wdt5_ac<64] | ADC_CWENR1_CWEN_CHN(${adc0_wdt5_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_6.mode.value[0]??][#if adc0_wdt6_mode != "DISABLED"][#if (adc0_wdt6_ac>=32) && adc0_wdt6_ac<64] | ADC_CWENR1_CWEN_CHN(${adc0_wdt6_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_7.mode.value[0]??][#if adc0_wdt7_mode != "DISABLED"][#if (adc0_wdt7_ac>=32) && adc0_wdt7_ac<64] | ADC_CWENR1_CWEN_CHN(${adc0_wdt7_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_8.mode.value[0]??][#if adc0_wdt8_mode != "DISABLED"][#if (adc0_wdt8_ac>=32) && adc0_wdt8_ac<64] | ADC_CWENR1_CWEN_CHN(${adc0_wdt8_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_9.mode.value[0]??][#if adc0_wdt9_mode != "DISABLED"][#if (adc0_wdt9_ac>=32) && adc0_wdt9_ac<64] | ADC_CWENR1_CWEN_CHN(${adc0_wdt9_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_10.mode.value[0]??][#if adc0_wdt10_mode != "DISABLED"][#if (adc0_wdt10_ac>=32) && adc0_wdt10_ac<64] | ADC_CWENR1_CWEN_CHN(${adc0_wdt10_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_11.mode.value[0]??][#if adc0_wdt11_mode != "DISABLED"][#if (adc0_wdt11_ac>=32) && adc0_wdt11_ac<64] | ADC_CWENR1_CWEN_CHN(${adc0_wdt11_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_12.mode.value[0]??][#if adc0_wdt12_mode != "DISABLED"][#if (adc0_wdt12_ac>=32) && adc0_wdt12_ac<64] | ADC_CWENR1_CWEN_CHN(${adc0_wdt12_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_13.mode.value[0]??][#if adc0_wdt13_mode != "DISABLED"][#if (adc0_wdt13_ac>=32) && adc0_wdt13_ac<64] | ADC_CWENR1_CWEN_CHN(${adc0_wdt13_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_14.mode.value[0]??][#if adc0_wdt14_mode != "DISABLED"][#if (adc0_wdt14_ac>=32) && adc0_wdt14_ac<64] | ADC_CWENR1_CWEN_CHN(${adc0_wdt14_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_15.mode.value[0]??][#if adc0_wdt15_mode != "DISABLED"][#if (adc0_wdt15_ac>=32) && adc0_wdt15_ac<64] | ADC_CWENR1_CWEN_CHN(${adc0_wdt15_ac})[/#if][/#if][/#if],
    0[#if group.watchdog_thresholds_configuration.threshold_0.mode.value[0]??][#if adc0_wdt0_mode != "DISABLED"][#if (adc0_wdt0_ac>=64) && adc0_wdt0_ac<96] | ADC_CWENR2_CWEN_CHN(${adc0_wdt0_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_1.mode.value[0]??][#if adc0_wdt1_mode != "DISABLED"][#if (adc0_wdt1_ac>=64) && adc0_wdt1_ac<96] | ADC_CWENR2_CWEN_CHN(${adc0_wdt1_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_2.mode.value[0]??][#if adc0_wdt2_mode != "DISABLED"][#if (adc0_wdt2_ac>=64) && adc0_wdt2_ac<96] | ADC_CWENR2_CWEN_CHN(${adc0_wdt2_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_3.mode.value[0]??][#if adc0_wdt3_mode != "DISABLED"][#if (adc0_wdt3_ac>=64) && adc0_wdt3_ac<96] | ADC_CWENR2_CWEN_CHN(${adc0_wdt3_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_4.mode.value[0]??][#if adc0_wdt4_mode != "DISABLED"][#if (adc0_wdt4_ac>=64) && adc0_wdt4_ac<96] | ADC_CWENR2_CWEN_CHN(${adc0_wdt4_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_5.mode.value[0]??][#if adc0_wdt5_mode != "DISABLED"][#if (adc0_wdt5_ac>=64) && adc0_wdt5_ac<96] | ADC_CWENR2_CWEN_CHN(${adc0_wdt5_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_6.mode.value[0]??][#if adc0_wdt6_mode != "DISABLED"][#if (adc0_wdt6_ac>=64) && adc0_wdt6_ac<96] | ADC_CWENR2_CWEN_CHN(${adc0_wdt6_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_7.mode.value[0]??][#if adc0_wdt7_mode != "DISABLED"][#if (adc0_wdt7_ac>=64) && adc0_wdt7_ac<96] | ADC_CWENR2_CWEN_CHN(${adc0_wdt7_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_8.mode.value[0]??][#if adc0_wdt8_mode != "DISABLED"][#if (adc0_wdt8_ac>=64) && adc0_wdt8_ac<96] | ADC_CWENR2_CWEN_CHN(${adc0_wdt8_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_9.mode.value[0]??][#if adc0_wdt9_mode != "DISABLED"][#if (adc0_wdt9_ac>=64) && adc0_wdt9_ac<96] | ADC_CWENR2_CWEN_CHN(${adc0_wdt9_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_10.mode.value[0]??][#if adc0_wdt10_mode != "DISABLED"][#if (adc0_wdt10_ac>=64) && adc0_wdt10_ac<96] | ADC_CWENR2_CWEN_CHN(${adc0_wdt10_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_11.mode.value[0]??][#if adc0_wdt11_mode != "DISABLED"][#if (adc0_wdt11_ac>=64) && adc0_wdt11_ac<96] | ADC_CWENR2_CWEN_CHN(${adc0_wdt11_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_12.mode.value[0]??][#if adc0_wdt12_mode != "DISABLED"][#if (adc0_wdt12_ac>=64) && adc0_wdt12_ac<96] | ADC_CWENR2_CWEN_CHN(${adc0_wdt12_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_13.mode.value[0]??][#if adc0_wdt13_mode != "DISABLED"][#if (adc0_wdt13_ac>=64) && adc0_wdt13_ac<96] | ADC_CWENR2_CWEN_CHN(${adc0_wdt13_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_14.mode.value[0]??][#if adc0_wdt14_mode != "DISABLED"][#if (adc0_wdt14_ac>=64) && adc0_wdt14_ac<96] | ADC_CWENR2_CWEN_CHN(${adc0_wdt14_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_15.mode.value[0]??][#if adc0_wdt15_mode != "DISABLED"][#if (adc0_wdt15_ac>=64) && adc0_wdt15_ac<96] | ADC_CWENR2_CWEN_CHN(${adc0_wdt15_ac})[/#if][/#if][/#if]
  },
  0[#if group.watchdog_thresholds_configuration.threshold_0.mode.value[0]??][#if adc0_wdt0_mode != "DISABLED"][#if adc0_wdt0_mode == "HIGH_LEVEL_INT"] | 1U << 1U[/#if][#if adc0_wdt0_mode == "LOW_LEVEL_INT"] | 1U[/#if][#if adc0_wdt0_mode == "HIGH_LOW_LEVEL_INT"] | 3U[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_1.mode.value[0]??][#if adc0_wdt1_mode != "DISABLED"][#if adc0_wdt1_mode == "HIGH_LEVEL_INT"] | 1U << 3U[/#if][#if adc0_wdt1_mode == "LOW_LEVEL_INT"] | 1U << 2U[/#if][#if adc0_wdt1_mode == "HIGH_LOW_LEVEL_INT"] | 3U << 2U[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_2.mode.value[0]??][#if adc0_wdt2_mode != "DISABLED"][#if adc0_wdt2_mode == "HIGH_LEVEL_INT"] | 1U << 5U[/#if][#if adc0_wdt2_mode == "LOW_LEVEL_INT"] | 1U << 4U[/#if][#if adc0_wdt2_mode == "HIGH_LOW_LEVEL_INT"] | 3U << 4U[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_3.mode.value[0]??][#if adc0_wdt3_mode != "DISABLED"][#if adc0_wdt3_mode == "HIGH_LEVEL_INT"] | 1U << 7U[/#if][#if adc0_wdt3_mode == "LOW_LEVEL_INT"] | 1U << 6U[/#if][#if adc0_wdt3_mode == "HIGH_LOW_LEVEL_INT"] | 3U << 6U[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_4.mode.value[0]??][#if adc0_wdt4_mode != "DISABLED"][#if adc0_wdt4_mode == "HIGH_LEVEL_INT"] | 1U << 9U[/#if][#if adc0_wdt4_mode == "LOW_LEVEL_INT"] | 1U << 8U[/#if][#if adc0_wdt4_mode == "HIGH_LOW_LEVEL_INT"] | 3U << 8U[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_5.mode.value[0]??][#if adc0_wdt5_mode != "DISABLED"][#if adc0_wdt5_mode == "HIGH_LEVEL_INT"] | 1U << 11U[/#if][#if adc0_wdt5_mode == "LOW_LEVEL_INT"] | 1U << 10U[/#if][#if adc0_wdt5_mode == "HIGH_LOW_LEVEL_INT"] | 3U << 10U[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_6.mode.value[0]??][#if adc0_wdt6_mode != "DISABLED"][#if adc0_wdt6_mode == "HIGH_LEVEL_INT"] | 1U << 13U[/#if][#if adc0_wdt6_mode == "LOW_LEVEL_INT"] | 1U << 12U[/#if][#if adc0_wdt6_mode == "HIGH_LOW_LEVEL_INT"] | 3U << 12U[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_7.mode.value[0]??][#if adc0_wdt7_mode != "DISABLED"][#if adc0_wdt7_mode == "HIGH_LEVEL_INT"] | 1U << 15U[/#if][#if adc0_wdt7_mode == "LOW_LEVEL_INT"] | 1U << 14U[/#if][#if adc0_wdt7_mode == "HIGH_LOW_LEVEL_INT"] | 3U << 14U[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_8.mode.value[0]??][#if adc0_wdt8_mode != "DISABLED"][#if adc0_wdt8_mode == "HIGH_LEVEL_INT"] | 1U << 17U[/#if][#if adc0_wdt8_mode == "LOW_LEVEL_INT"] | 1U << 16U[/#if][#if adc0_wdt8_mode == "HIGH_LOW_LEVEL_INT"] | 3U << 16U[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_9.mode.value[0]??][#if adc0_wdt9_mode != "DISABLED"][#if adc0_wdt9_mode == "HIGH_LEVEL_INT"] | 1U << 19U[/#if][#if adc0_wdt9_mode == "LOW_LEVEL_INT"] | 1U << 18U[/#if][#if adc0_wdt9_mode == "HIGH_LOW_LEVEL_INT"] | 3U << 18U[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_10.mode.value[0]??][#if adc0_wdt10_mode != "DISABLED"][#if adc0_wdt10_mode == "HIGH_LEVEL_INT"] | 1U << 21U[/#if][#if adc0_wdt10_mode == "LOW_LEVEL_INT"] | 1U << 20U[/#if][#if adc0_wdt10_mode == "HIGH_LOW_LEVEL_INT"] | 3U << 20U[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_11.mode.value[0]??][#if adc0_wdt11_mode != "DISABLED"][#if adc0_wdt11_mode == "HIGH_LEVEL_INT"] | 1U << 23U[/#if][#if adc0_wdt11_mode == "LOW_LEVEL_INT"] | 1U << 22U[/#if][#if adc0_wdt11_mode == "HIGH_LOW_LEVEL_INT"] | 3U << 22U[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_12.mode.value[0]??][#if adc0_wdt12_mode != "DISABLED"][#if adc0_wdt12_mode == "HIGH_LEVEL_INT"] | 1U << 25U[/#if][#if adc0_wdt12_mode == "LOW_LEVEL_INT"] | 1U << 24U[/#if][#if adc0_wdt12_mode == "HIGH_LOW_LEVEL_INT"] | 3U << 24U[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_13.mode.value[0]??][#if adc0_wdt13_mode != "DISABLED"][#if adc0_wdt13_mode == "HIGH_LEVEL_INT"] | 1U << 27U[/#if][#if adc0_wdt13_mode == "LOW_LEVEL_INT"] | 1U << 26U[/#if][#if adc0_wdt13_mode == "HIGH_LOW_LEVEL_INT"] | 3U << 26U[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_14.mode.value[0]??][#if adc0_wdt14_mode != "DISABLED"][#if adc0_wdt14_mode == "HIGH_LEVEL_INT"] | 1U << 29U[/#if][#if adc0_wdt14_mode == "LOW_LEVEL_INT"] | 1U << 28U[/#if][#if adc0_wdt14_mode == "HIGH_LOW_LEVEL_INT"] | 3U << 28U[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_15.mode.value[0]??][#if adc0_wdt15_mode != "DISABLED"][#if adc0_wdt15_mode == "HIGH_LEVEL_INT"] | 1U << 31U[/#if][#if adc0_wdt15_mode == "LOW_LEVEL_INT"] | 1U << 30U[/#if][#if adc0_wdt15_mode == "HIGH_LOW_LEVEL_INT"] | 3U << 30U[/#if][/#if][/#if],
#endif
  {
[#if group.conversion_timing_configuration.ctr0_inplatch.value[0]??]
    [#if adc0_ctr0_inplatch == 1]ADC_CTR_INPLATCH | [/#if]ADC_CTR_OFFSHIFT(${adc0_ctr0_offshift}) | ADC_CTR_INPCMP(${adc0_ctr0_inpcmp}) | ADC_CTR_INPSAMP(${adc0_ctr0_inpsamp}),
[#else]
    0,
[/#if]
[#if group.conversion_timing_configuration.ctr1_inplatch.value[0]??]
    [#if adc0_ctr1_inplatch == 1]ADC_CTR_INPLATCH | [/#if]ADC_CTR_OFFSHIFT(${adc0_ctr1_offshift}) | ADC_CTR_INPCMP(${adc0_ctr1_inpcmp}) | ADC_CTR_INPSAMP(${adc0_ctr1_inpsamp}),
[#else]
    0,
[/#if]
[#if group.conversion_timing_configuration.ctr2_inplatch.value[0]??]
    [#if adc0_ctr2_inplatch == 1]ADC_CTR_INPLATCH | [/#if]ADC_CTR_OFFSHIFT(${adc0_ctr2_offshift}) | ADC_CTR_INPCMP(${adc0_ctr2_inpcmp}) | ADC_CTR_INPSAMP(${adc0_ctr2_inpsamp})
[#else]
    0
[/#if]
  },
  ADC_CHN_AN${init_channel}
};

[/#list]
/* List of the ADC1 ADCConversionGroup structures.*/
[#list conf.instance.adc_settings.adc1_conversion_groups.configs.conversion_group_settings as group]
  [#assign name = group.symbolic_name.value[0] /]
  [#assign mode = group.conversion_mode.value[0]?string?trim /]
  [#assign init_channel = group.channels.initial_channel.value[0]?string?trim /]
  [#assign num_channels = group.channels.number_of_channels.value[0] /]
  [#assign conv_cb = group.notifications.conversion_callback.value[0]?string?trim /]
  [#if conv_cb == ""]
    [#assign conv_cb = "NULL" /]
  [/#if]
  [#assign err_cb = group.notifications.error_callback.value[0]?string?trim /]
  [#if err_cb == ""]
    [#assign err_cb = "NULL" /]
  [/#if]
  [#if group.watchdog_thresholds_configuration.threshold_0.mode.value[0]??]
    [#assign adc1_wdt0_mode = group.watchdog_thresholds_configuration.threshold_0.mode.value[0]?string?trim]
    [#assign adc1_wdt0_htv = group.watchdog_thresholds_configuration.threshold_0.high_threshold_value.value[0]]
    [#assign adc1_wdt0_ltv = group.watchdog_thresholds_configuration.threshold_0.low_threshold_value.value[0]]
    [#assign adc1_wdt0_ac = group.watchdog_thresholds_configuration.threshold_0.analog_channel.value[0]?eval]
  [/#if]
  [#if group.watchdog_thresholds_configuration.threshold_1.mode.value[0]??]
    [#assign adc1_wdt1_mode = group.watchdog_thresholds_configuration.threshold_1.mode.value[0]?string?trim]
    [#assign adc1_wdt1_htv = group.watchdog_thresholds_configuration.threshold_1.high_threshold_value.value[0]]
    [#assign adc1_wdt1_ltv = group.watchdog_thresholds_configuration.threshold_1.low_threshold_value.value[0]]
    [#assign adc1_wdt1_ac = group.watchdog_thresholds_configuration.threshold_1.analog_channel.value[0]?eval]
  [/#if]
  [#if group.watchdog_thresholds_configuration.threshold_2.mode.value[0]??]
    [#assign adc1_wdt2_mode = group.watchdog_thresholds_configuration.threshold_2.mode.value[0]?string?trim]
    [#assign adc1_wdt2_htv = group.watchdog_thresholds_configuration.threshold_2.high_threshold_value.value[0]]
    [#assign adc1_wdt2_ltv = group.watchdog_thresholds_configuration.threshold_2.low_threshold_value.value[0]]
    [#assign adc1_wdt2_ac = group.watchdog_thresholds_configuration.threshold_2.analog_channel.value[0]?eval]
  [/#if]
  [#if group.watchdog_thresholds_configuration.threshold_3.mode.value[0]??]
    [#assign adc1_wdt3_mode = group.watchdog_thresholds_configuration.threshold_3.mode.value[0]?string?trim]
    [#assign adc1_wdt3_htv = group.watchdog_thresholds_configuration.threshold_3.high_threshold_value.value[0]]
    [#assign adc1_wdt3_ltv = group.watchdog_thresholds_configuration.threshold_3.low_threshold_value.value[0]]
    [#assign adc1_wdt3_ac = group.watchdog_thresholds_configuration.threshold_3.analog_channel.value[0]?eval]
  [/#if]
  [#if group.watchdog_thresholds_configuration.threshold_4.mode.value[0]??]
    [#assign adc1_wdt4_mode = group.watchdog_thresholds_configuration.threshold_4.mode.value[0]?string?trim]
    [#assign adc1_wdt4_htv = group.watchdog_thresholds_configuration.threshold_4.high_threshold_value.value[0]]
    [#assign adc1_wdt4_ltv = group.watchdog_thresholds_configuration.threshold_4.low_threshold_value.value[0]]
    [#assign adc1_wdt4_ac = group.watchdog_thresholds_configuration.threshold_4.analog_channel.value[0]?eval]
  [/#if]
  [#if group.watchdog_thresholds_configuration.threshold_5.mode.value[0]??]
    [#assign adc1_wdt5_mode = group.watchdog_thresholds_configuration.threshold_5.mode.value[0]?string?trim]
    [#assign adc1_wdt5_htv = group.watchdog_thresholds_configuration.threshold_5.high_threshold_value.value[0]]
    [#assign adc1_wdt5_ltv = group.watchdog_thresholds_configuration.threshold_5.low_threshold_value.value[0]]
    [#assign adc1_wdt5_ac = group.watchdog_thresholds_configuration.threshold_5.analog_channel.value[0]?eval]
  [/#if]
  [#if group.watchdog_thresholds_configuration.threshold_6.mode.value[0]??]
    [#assign adc1_wdt6_mode = group.watchdog_thresholds_configuration.threshold_6.mode.value[0]?string?trim]
    [#assign adc1_wdt6_htv = group.watchdog_thresholds_configuration.threshold_6.high_threshold_value.value[0]]
    [#assign adc1_wdt6_ltv = group.watchdog_thresholds_configuration.threshold_6.low_threshold_value.value[0]]
    [#assign adc1_wdt6_ac = group.watchdog_thresholds_configuration.threshold_6.analog_channel.value[0]?eval]
  [/#if]
  [#if group.watchdog_thresholds_configuration.threshold_7.mode.value[0]??]
    [#assign adc1_wdt7_mode = group.watchdog_thresholds_configuration.threshold_7.mode.value[0]?string?trim]
    [#assign adc1_wdt7_htv = group.watchdog_thresholds_configuration.threshold_7.high_threshold_value.value[0]]
    [#assign adc1_wdt7_ltv = group.watchdog_thresholds_configuration.threshold_7.low_threshold_value.value[0]]
    [#assign adc1_wdt7_ac = group.watchdog_thresholds_configuration.threshold_7.analog_channel.value[0]?eval]
  [/#if]
  [#if group.watchdog_thresholds_configuration.threshold_8.mode.value[0]??]
    [#assign adc1_wdt8_mode = group.watchdog_thresholds_configuration.threshold_8.mode.value[0]?string?trim]
    [#assign adc1_wdt8_htv = group.watchdog_thresholds_configuration.threshold_8.high_threshold_value.value[0]]
    [#assign adc1_wdt8_ltv = group.watchdog_thresholds_configuration.threshold_8.low_threshold_value.value[0]]
    [#assign adc1_wdt8_ac = group.watchdog_thresholds_configuration.threshold_8.analog_channel.value[0]?eval]
  [/#if]
  [#if group.watchdog_thresholds_configuration.threshold_9.mode.value[0]??]
    [#assign adc1_wdt9_mode = group.watchdog_thresholds_configuration.threshold_9.mode.value[0]?string?trim]
    [#assign adc1_wdt9_htv = group.watchdog_thresholds_configuration.threshold_9.high_threshold_value.value[0]]
    [#assign adc1_wdt9_ltv = group.watchdog_thresholds_configuration.threshold_9.low_threshold_value.value[0]]
    [#assign adc1_wdt9_ac = group.watchdog_thresholds_configuration.threshold_9.analog_channel.value[0]?eval]
  [/#if]
  [#if group.watchdog_thresholds_configuration.threshold_10.mode.value[0]??]
    [#assign adc1_wdt10_mode = group.watchdog_thresholds_configuration.threshold_10.mode.value[0]?string?trim]
    [#assign adc1_wdt10_htv = group.watchdog_thresholds_configuration.threshold_10.high_threshold_value.value[0]]
    [#assign adc1_wdt10_ltv = group.watchdog_thresholds_configuration.threshold_10.low_threshold_value.value[0]]
    [#assign adc1_wdt10_ac = group.watchdog_thresholds_configuration.threshold_10.analog_channel.value[0]?eval]
  [/#if]
  [#if group.watchdog_thresholds_configuration.threshold_11.mode.value[0]??]
    [#assign adc1_wdt11_mode = group.watchdog_thresholds_configuration.threshold_11.mode.value[0]?string?trim]
    [#assign adc1_wdt11_htv = group.watchdog_thresholds_configuration.threshold_11.high_threshold_value.value[0]]
    [#assign adc1_wdt11_ltv = group.watchdog_thresholds_configuration.threshold_11.low_threshold_value.value[0]]
    [#assign adc1_wdt11_ac = group.watchdog_thresholds_configuration.threshold_11.analog_channel.value[0]?eval]
  [/#if]
  [#if group.watchdog_thresholds_configuration.threshold_12.mode.value[0]??]
    [#assign adc1_wdt12_mode = group.watchdog_thresholds_configuration.threshold_12.mode.value[0]?string?trim]
    [#assign adc1_wdt12_htv = group.watchdog_thresholds_configuration.threshold_12.high_threshold_value.value[0]]
    [#assign adc1_wdt12_ltv = group.watchdog_thresholds_configuration.threshold_12.low_threshold_value.value[0]]
    [#assign adc1_wdt12_ac = group.watchdog_thresholds_configuration.threshold_12.analog_channel.value[0]?eval]
  [/#if]
  [#if group.watchdog_thresholds_configuration.threshold_13.mode.value[0]??]
    [#assign adc1_wdt13_mode = group.watchdog_thresholds_configuration.threshold_13.mode.value[0]?string?trim]
    [#assign adc1_wdt13_htv = group.watchdog_thresholds_configuration.threshold_13.high_threshold_value.value[0]]
    [#assign adc1_wdt13_ltv = group.watchdog_thresholds_configuration.threshold_13.low_threshold_value.value[0]]
    [#assign adc1_wdt13_ac = group.watchdog_thresholds_configuration.threshold_13.analog_channel.value[0]?eval]
  [/#if]
  [#if group.watchdog_thresholds_configuration.threshold_14.mode.value[0]??]
    [#assign adc1_wdt14_mode = group.watchdog_thresholds_configuration.threshold_14.mode.value[0]?string?trim]
    [#assign adc1_wdt14_htv = group.watchdog_thresholds_configuration.threshold_14.high_threshold_value.value[0]]
    [#assign adc1_wdt14_ltv = group.watchdog_thresholds_configuration.threshold_14.low_threshold_value.value[0]]
    [#assign adc1_wdt14_ac = group.watchdog_thresholds_configuration.threshold_14.analog_channel.value[0]?eval]
  [/#if]
  [#if group.watchdog_thresholds_configuration.threshold_15.mode.value[0]??]
    [#assign adc1_wdt15_mode = group.watchdog_thresholds_configuration.threshold_15.mode.value[0]?string?trim]
    [#assign adc1_wdt15_htv = group.watchdog_thresholds_configuration.threshold_15.high_threshold_value.value[0]]
    [#assign adc1_wdt15_ltv = group.watchdog_thresholds_configuration.threshold_15.low_threshold_value.value[0]]
    [#assign adc1_wdt15_ac = group.watchdog_thresholds_configuration.threshold_15.analog_channel.value[0]?eval]
  [/#if]
  [#if group.conversion_timing_configuration.ctr0_inplatch.value[0]??]
    [#assign adc1_ctr0_inplatch = group.conversion_timing_configuration.ctr0_inplatch.value[0]]
    [#if adc1_ctr0_inplatch == "TRUE"]
      [#assign adc1_ctr0_inplatch = 1]
    [#else]
      [#assign adc1_ctr0_inplatch = 0]
    [/#if]
  [/#if]
  [#if group.conversion_timing_configuration.ctr0_offshift.value[0]??]
    [#assign adc1_ctr0_offshift = group.conversion_timing_configuration.ctr0_offshift.value[0]]
  [/#if]
  [#if group.conversion_timing_configuration.ctr0_inpcmp.value[0]??]
    [#assign adc1_ctr0_inpcmp = group.conversion_timing_configuration.ctr0_inpcmp.value[0]]
  [/#if]
  [#if group.conversion_timing_configuration.ctr0_inpsamp.value[0]??]
    [#assign adc1_ctr0_inpsamp = group.conversion_timing_configuration.ctr0_inpsamp.value[0]]
  [/#if]
  [#if group.conversion_timing_configuration.ctr1_inplatch.value[0]??]
    [#assign adc1_ctr1_inplatch = group.conversion_timing_configuration.ctr1_inplatch.value[0]]
    [#if adc1_ctr1_inplatch == "TRUE"]
      [#assign adc1_ctr1_inplatch = 1]
    [#else]
      [#assign adc1_ctr1_inplatch = 0]
    [/#if]
  [/#if]
  [#if group.conversion_timing_configuration.ctr1_offshift.value[0]??]
    [#assign adc1_ctr1_offshift = group.conversion_timing_configuration.ctr1_offshift.value[0]]
  [/#if]
  [#if group.conversion_timing_configuration.ctr1_inpcmp.value[0]??]
    [#assign adc1_ctr1_inpcmp = group.conversion_timing_configuration.ctr1_inpcmp.value[0]]
  [/#if]
  [#if group.conversion_timing_configuration.ctr1_inpsamp.value[0]??]
    [#assign adc1_ctr1_inpsamp = group.conversion_timing_configuration.ctr1_inpsamp.value[0]]
  [/#if]
  [#if group.conversion_timing_configuration.ctr2_inplatch.value[0]??]
    [#assign adc1_ctr2_inplatch = group.conversion_timing_configuration.ctr2_inplatch.value[0]]
    [#if adc1_ctr2_inplatch == "TRUE"]
      [#assign adc1_ctr2_inplatch = 1]
    [#else]
      [#assign adc1_ctr2_inplatch = 0]
    [/#if]
  [/#if]
  [#if group.conversion_timing_configuration.ctr2_offshift.value[0]??]
    [#assign adc1_ctr2_offshift = group.conversion_timing_configuration.ctr2_offshift.value[0]]
  [/#if]
  [#if group.conversion_timing_configuration.ctr2_inpcmp.value[0]??]
    [#assign adc1_ctr2_inpcmp = group.conversion_timing_configuration.ctr2_inpcmp.value[0]]
  [/#if]
  [#if group.conversion_timing_configuration.ctr2_inpsamp.value[0]??]
    [#assign adc1_ctr2_inpsamp = group.conversion_timing_configuration.ctr2_inpsamp.value[0]]
  [/#if]
/**
 * @brief   Structure defining the conversion group "${group.symbolic_name.value[0]}".
 */
const ADCConversionGroup adc1_group_${group.symbolic_name.value[0]?trim} = {
  [#if mode=="Linear Buffer"]FALSE,[#else]TRUE,[/#if]
  ${num_channels}U,
  ${conv_cb},
  ${err_cb},
#if SPC5_ADC_HAS_TRC
  {
    [#if adc1_wdt0_mode??][#if adc1_wdt0_mode != "DISABLED"]ADC_TRC_THREN | ADC_TRC_THRCH(${adc1_wdt0_ac})[#else]0[/#if][#else]0[/#if],
    [#if adc1_wdt1_mode??][#if adc1_wdt1_mode != "DISABLED"]ADC_TRC_THREN | ADC_TRC_THRCH(${adc1_wdt1_ac})[#else]0[/#if][#else]0[/#if],
    [#if adc1_wdt2_mode??][#if adc1_wdt2_mode != "DISABLED"]ADC_TRC_THREN | ADC_TRC_THRCH(${adc1_wdt2_ac})[#else]0[/#if][#else]0[/#if],
    [#if adc1_wdt3_mode??][#if adc1_wdt3_mode != "DISABLED"]ADC_TRC_THREN | ADC_TRC_THRCH(${adc1_wdt3_ac})[#else]0[/#if][#else]0[/#if]
  },
  {
    [#if adc1_wdt0_htv??]ADC_THRHLR_THRH(${adc1_wdt0_htv}) | ADC_THRHLR_THRL(${adc1_wdt0_ltv})[#else]0[/#if],
    [#if adc1_wdt1_htv??]ADC_THRHLR_THRH(${adc1_wdt1_htv}) | ADC_THRHLR_THRL(${adc1_wdt1_ltv})[#else]0[/#if],
    [#if adc1_wdt2_htv??]ADC_THRHLR_THRH(${adc1_wdt2_htv}) | ADC_THRHLR_THRL(${adc1_wdt2_ltv})[#else]0[/#if],
    [#if adc1_wdt3_htv??]ADC_THRHLR_THRH(${adc1_wdt3_htv}) | ADC_THRHLR_THRL(${adc1_wdt3_ltv})[#else]0[/#if]
  },
  0[#if adc1_wdt0_mode??][#if adc1_wdt0_mode != "DISABLED"][#if adc1_wdt0_mode == "HIGH_LEVEL_INT"] | ADC_WTIMR_MSKWDG0_HIGH[/#if][#if adc1_wdt0_mode == "LOW_LEVEL_INT"] | ADC_WTIMR_MSKWDG0_LOW[/#if][#if adc1_wdt0_mode == "HIGH_LOW_LEVEL_INT"] | ADC_WTIMR_MSKWDG0_BOTH[/#if][/#if][/#if][#rt]
 [#if adc1_wdt1_mode??][#if adc1_wdt1_mode != "DISABLED"][#if adc1_wdt1_mode == "HIGH_LEVEL_INT"] | ADC_WTIMR_MSKWDG1_HIGH[/#if][#if adc1_wdt1_mode == "LOW_LEVEL_INT"] | ADC_WTIMR_MSKWDG1_LOW[/#if][#if adc1_wdt1_mode == "HIGH_LOW_LEVEL_INT"] | ADC_WTIMR_MSKWDG1_BOTH[/#if][/#if][/#if][#rt]
 [#if adc1_wdt2_mode??][#if adc1_wdt2_mode != "DISABLED"][#if adc1_wdt2_mode == "HIGH_LEVEL_INT"] | ADC_WTIMR_MSKWDG2_HIGH[/#if][#if adc1_wdt2_mode == "LOW_LEVEL_INT"] | ADC_WTIMR_MSKWDG2_LOW[/#if][#if adc1_wdt2_mode == "HIGH_LOW_LEVEL_INT"] | ADC_WTIMR_MSKWDG2_BOTH[/#if][/#if][/#if][#rt]
 [#if adc1_wdt3_mode??][#if adc1_wdt3_mode != "DISABLED"][#if adc1_wdt3_mode == "HIGH_LEVEL_INT"] | ADC_WTIMR_MSKWDG3_HIGH[/#if][#if adc1_wdt3_mode == "LOW_LEVEL_INT"] | ADC_WTIMR_MSKWDG3_LOW[/#if][#if adc1_wdt3_mode == "HIGH_LOW_LEVEL_INT"] | ADC_WTIMR_MSKWDG3_BOTH[/#if][/#if][/#if],
#else
  {
    0[#if group.watchdog_thresholds_configuration.threshold_0.mode.value[0]??][#if adc1_wdt0_mode != "DISABLED"][#if (adc1_wdt0_ac>=0) && adc1_wdt0_ac<8] | ADC_WDT0 << ADC_CWSEL0_WSEL_CHN(${adc1_wdt0_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_1.mode.value[0]??][#if adc1_wdt1_mode != "DISABLED"][#if (adc1_wdt1_ac>=0) && adc1_wdt1_ac<8] | ADC_WDT1 << ADC_CWSEL0_WSEL_CHN(${adc1_wdt1_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_2.mode.value[0]??][#if adc1_wdt2_mode != "DISABLED"][#if (adc1_wdt2_ac>=0) && adc1_wdt2_ac<8] | ADC_WDT2 << ADC_CWSEL0_WSEL_CHN(${adc1_wdt2_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_3.mode.value[0]??][#if adc1_wdt3_mode != "DISABLED"][#if (adc1_wdt3_ac>=0) && adc1_wdt3_ac<8] | ADC_WDT3 << ADC_CWSEL0_WSEL_CHN(${adc1_wdt3_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_4.mode.value[0]??][#if adc1_wdt4_mode != "DISABLED"][#if (adc1_wdt4_ac>=0) && adc1_wdt4_ac<8] | ADC_WDT4 << ADC_CWSEL0_WSEL_CHN(${adc1_wdt4_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_5.mode.value[0]??][#if adc1_wdt5_mode != "DISABLED"][#if (adc1_wdt5_ac>=0) && adc1_wdt5_ac<8] | ADC_WDT5 << ADC_CWSEL0_WSEL_CHN(${adc1_wdt5_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_6.mode.value[0]??][#if adc1_wdt6_mode != "DISABLED"][#if (adc1_wdt6_ac>=0) && adc1_wdt6_ac<8] | ADC_WDT6 << ADC_CWSEL0_WSEL_CHN(${adc1_wdt6_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_7.mode.value[0]??][#if adc1_wdt7_mode != "DISABLED"][#if (adc1_wdt7_ac>=0) && adc1_wdt7_ac<8] | ADC_WDT7 << ADC_CWSEL0_WSEL_CHN(${adc1_wdt7_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_8.mode.value[0]??][#if adc1_wdt8_mode != "DISABLED"][#if (adc1_wdt8_ac>=0) && adc1_wdt8_ac<8] | ADC_WDT8 << ADC_CWSEL0_WSEL_CHN(${adc1_wdt8_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_9.mode.value[0]??][#if adc1_wdt9_mode != "DISABLED"][#if (adc1_wdt9_ac>=0) && adc1_wdt9_ac<8] | ADC_WDT9 << ADC_CWSEL0_WSEL_CHN(${adc1_wdt9_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_10.mode.value[0]??][#if adc1_wdt10_mode != "DISABLED"][#if (adc1_wdt10_ac>=0) && adc1_wdt10_ac<8] | ADC_WDT10 << ADC_CWSEL0_WSEL_CHN(${adc1_wdt10_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_11.mode.value[0]??][#if adc1_wdt11_mode != "DISABLED"][#if (adc1_wdt11_ac>=0) && adc1_wdt11_ac<8] | ADC_WDT11 << ADC_CWSEL0_WSEL_CHN(${adc1_wdt11_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_12.mode.value[0]??][#if adc1_wdt12_mode != "DISABLED"][#if (adc1_wdt12_ac>=0) && adc1_wdt12_ac<8] | ADC_WDT12 << ADC_CWSEL0_WSEL_CHN(${adc1_wdt12_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_13.mode.value[0]??][#if adc1_wdt13_mode != "DISABLED"][#if (adc1_wdt13_ac>=0) && adc1_wdt13_ac<8] | ADC_WDT13 << ADC_CWSEL0_WSEL_CHN(${adc1_wdt13_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_14.mode.value[0]??][#if adc1_wdt14_mode != "DISABLED"][#if (adc1_wdt14_ac>=0) && adc1_wdt14_ac<8] | ADC_WDT14 << ADC_CWSEL0_WSEL_CHN(${adc1_wdt14_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_15.mode.value[0]??][#if adc1_wdt15_mode != "DISABLED"][#if (adc1_wdt15_ac>=0) && adc1_wdt15_ac<8] | ADC_WDT15 << ADC_CWSEL0_WSEL_CHN(${adc1_wdt15_ac})[/#if][/#if][/#if],
    0[#if group.watchdog_thresholds_configuration.threshold_0.mode.value[0]??][#if adc1_wdt0_mode != "DISABLED"][#if (adc1_wdt0_ac>=8) && adc1_wdt0_ac<16] | ADC_WDT0 << ADC_CWSEL1_WSEL_CHN(${adc1_wdt0_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_1.mode.value[0]??][#if adc1_wdt1_mode != "DISABLED"][#if (adc1_wdt1_ac>=8) && adc1_wdt1_ac<16] | ADC_WDT1 << ADC_CWSEL1_WSEL_CHN(${adc1_wdt1_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_2.mode.value[0]??][#if adc1_wdt2_mode != "DISABLED"][#if (adc1_wdt2_ac>=8) && adc1_wdt2_ac<16] | ADC_WDT2 << ADC_CWSEL1_WSEL_CHN(${adc1_wdt2_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_3.mode.value[0]??][#if adc1_wdt3_mode != "DISABLED"][#if (adc1_wdt3_ac>=8) && adc1_wdt3_ac<16] | ADC_WDT3 << ADC_CWSEL1_WSEL_CHN(${adc1_wdt3_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_4.mode.value[0]??][#if adc1_wdt4_mode != "DISABLED"][#if (adc1_wdt4_ac>=8) && adc1_wdt4_ac<16] | ADC_WDT4 << ADC_CWSEL1_WSEL_CHN(${adc1_wdt4_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_5.mode.value[0]??][#if adc1_wdt5_mode != "DISABLED"][#if (adc1_wdt5_ac>=8) && adc1_wdt5_ac<16] | ADC_WDT5 << ADC_CWSEL1_WSEL_CHN(${adc1_wdt5_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_6.mode.value[0]??][#if adc1_wdt6_mode != "DISABLED"][#if (adc1_wdt6_ac>=8) && adc1_wdt6_ac<16] | ADC_WDT6 << ADC_CWSEL1_WSEL_CHN(${adc1_wdt6_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_7.mode.value[0]??][#if adc1_wdt7_mode != "DISABLED"][#if (adc1_wdt7_ac>=8) && adc1_wdt7_ac<16] | ADC_WDT7 << ADC_CWSEL1_WSEL_CHN(${adc1_wdt7_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_8.mode.value[0]??][#if adc1_wdt8_mode != "DISABLED"][#if (adc1_wdt8_ac>=8) && adc1_wdt8_ac<16] | ADC_WDT8 << ADC_CWSEL1_WSEL_CHN(${adc1_wdt8_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_9.mode.value[0]??][#if adc1_wdt9_mode != "DISABLED"][#if (adc1_wdt9_ac>=8) && adc1_wdt9_ac<16] | ADC_WDT9 << ADC_CWSEL1_WSEL_CHN(${adc1_wdt9_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_10.mode.value[0]??][#if adc1_wdt10_mode != "DISABLED"][#if (adc1_wdt10_ac>=8) && adc1_wdt10_ac<16] | ADC_WDT10 << ADC_CWSEL1_WSEL_CHN(${adc1_wdt10_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_11.mode.value[0]??][#if adc1_wdt11_mode != "DISABLED"][#if (adc1_wdt11_ac>=8) && adc1_wdt11_ac<16] | ADC_WDT11 << ADC_CWSEL1_WSEL_CHN(${adc1_wdt11_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_12.mode.value[0]??][#if adc1_wdt12_mode != "DISABLED"][#if (adc1_wdt12_ac>=8) && adc1_wdt12_ac<16] | ADC_WDT12 << ADC_CWSEL1_WSEL_CHN(${adc1_wdt12_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_13.mode.value[0]??][#if adc1_wdt13_mode != "DISABLED"][#if (adc1_wdt13_ac>=8) && adc1_wdt13_ac<16] | ADC_WDT13 << ADC_CWSEL1_WSEL_CHN(${adc1_wdt13_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_14.mode.value[0]??][#if adc1_wdt14_mode != "DISABLED"][#if (adc1_wdt14_ac>=8) && adc1_wdt14_ac<16] | ADC_WDT14 << ADC_CWSEL1_WSEL_CHN(${adc1_wdt14_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_15.mode.value[0]??][#if adc1_wdt15_mode != "DISABLED"][#if (adc1_wdt15_ac>=8) && adc1_wdt15_ac<16] | ADC_WDT15 << ADC_CWSEL1_WSEL_CHN(${adc1_wdt15_ac})[/#if][/#if][/#if],
    0[#if group.watchdog_thresholds_configuration.threshold_0.mode.value[0]??][#if adc1_wdt0_mode != "DISABLED"][#if (adc1_wdt0_ac>=16) && adc1_wdt0_ac<24] | ADC_WDT0 << ADC_CWSEL2_WSEL_CHN(${adc1_wdt0_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_1.mode.value[0]??][#if adc1_wdt1_mode != "DISABLED"][#if (adc1_wdt1_ac>=16) && adc1_wdt1_ac<24] | ADC_WDT1 << ADC_CWSEL2_WSEL_CHN(${adc1_wdt1_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_2.mode.value[0]??][#if adc1_wdt2_mode != "DISABLED"][#if (adc1_wdt2_ac>=16) && adc1_wdt2_ac<24] | ADC_WDT2 << ADC_CWSEL2_WSEL_CHN(${adc1_wdt2_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_3.mode.value[0]??][#if adc1_wdt3_mode != "DISABLED"][#if (adc1_wdt3_ac>=16) && adc1_wdt3_ac<24] | ADC_WDT3 << ADC_CWSEL2_WSEL_CHN(${adc1_wdt3_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_4.mode.value[0]??][#if adc1_wdt4_mode != "DISABLED"][#if (adc1_wdt4_ac>=16) && adc1_wdt4_ac<24] | ADC_WDT4 << ADC_CWSEL2_WSEL_CHN(${adc1_wdt4_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_5.mode.value[0]??][#if adc1_wdt5_mode != "DISABLED"][#if (adc1_wdt5_ac>=16) && adc1_wdt5_ac<24] | ADC_WDT5 << ADC_CWSEL2_WSEL_CHN(${adc1_wdt5_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_6.mode.value[0]??][#if adc1_wdt6_mode != "DISABLED"][#if (adc1_wdt6_ac>=16) && adc1_wdt6_ac<24] | ADC_WDT6 << ADC_CWSEL2_WSEL_CHN(${adc1_wdt6_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_7.mode.value[0]??][#if adc1_wdt7_mode != "DISABLED"][#if (adc1_wdt7_ac>=16) && adc1_wdt7_ac<24] | ADC_WDT7 << ADC_CWSEL2_WSEL_CHN(${adc1_wdt7_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_8.mode.value[0]??][#if adc1_wdt8_mode != "DISABLED"][#if (adc1_wdt8_ac>=16) && adc1_wdt8_ac<24] | ADC_WDT8 << ADC_CWSEL2_WSEL_CHN(${adc1_wdt8_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_9.mode.value[0]??][#if adc1_wdt9_mode != "DISABLED"][#if (adc1_wdt9_ac>=16) && adc1_wdt9_ac<24] | ADC_WDT9 << ADC_CWSEL2_WSEL_CHN(${adc1_wdt9_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_10.mode.value[0]??][#if adc1_wdt10_mode != "DISABLED"][#if (adc1_wdt10_ac>=16) && adc1_wdt10_ac<24] | ADC_WDT10 << ADC_CWSEL2_WSEL_CHN(${adc1_wdt10_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_11.mode.value[0]??][#if adc1_wdt11_mode != "DISABLED"][#if (adc1_wdt11_ac>=16) && adc1_wdt11_ac<24] | ADC_WDT11 << ADC_CWSEL2_WSEL_CHN(${adc1_wdt11_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_12.mode.value[0]??][#if adc1_wdt12_mode != "DISABLED"][#if (adc1_wdt12_ac>=16) && adc1_wdt12_ac<24] | ADC_WDT12 << ADC_CWSEL2_WSEL_CHN(${adc1_wdt12_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_13.mode.value[0]??][#if adc1_wdt13_mode != "DISABLED"][#if (adc1_wdt13_ac>=16) && adc1_wdt13_ac<24] | ADC_WDT13 << ADC_CWSEL2_WSEL_CHN(${adc1_wdt13_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_14.mode.value[0]??][#if adc1_wdt14_mode != "DISABLED"][#if (adc1_wdt14_ac>=16) && adc1_wdt14_ac<24] | ADC_WDT14 << ADC_CWSEL2_WSEL_CHN(${adc1_wdt14_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_15.mode.value[0]??][#if adc1_wdt15_mode != "DISABLED"][#if (adc1_wdt15_ac>=16) && adc1_wdt15_ac<24] | ADC_WDT15 << ADC_CWSEL2_WSEL_CHN(${adc1_wdt15_ac})[/#if][/#if][/#if],
    0[#if group.watchdog_thresholds_configuration.threshold_0.mode.value[0]??][#if adc1_wdt0_mode != "DISABLED"][#if (adc1_wdt0_ac>=24) && adc1_wdt0_ac<32] | ADC_WDT0 << ADC_CWSEL3_WSEL_CHN(${adc1_wdt0_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_1.mode.value[0]??][#if adc1_wdt1_mode != "DISABLED"][#if (adc1_wdt1_ac>=24) && adc1_wdt1_ac<32] | ADC_WDT1 << ADC_CWSEL3_WSEL_CHN(${adc1_wdt1_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_2.mode.value[0]??][#if adc1_wdt2_mode != "DISABLED"][#if (adc1_wdt2_ac>=24) && adc1_wdt2_ac<32] | ADC_WDT2 << ADC_CWSEL3_WSEL_CHN(${adc1_wdt2_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_3.mode.value[0]??][#if adc1_wdt3_mode != "DISABLED"][#if (adc1_wdt3_ac>=24) && adc1_wdt3_ac<32] | ADC_WDT3 << ADC_CWSEL3_WSEL_CHN(${adc1_wdt3_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_4.mode.value[0]??][#if adc1_wdt4_mode != "DISABLED"][#if (adc1_wdt4_ac>=24) && adc1_wdt4_ac<32] | ADC_WDT4 << ADC_CWSEL3_WSEL_CHN(${adc1_wdt4_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_5.mode.value[0]??][#if adc1_wdt5_mode != "DISABLED"][#if (adc1_wdt5_ac>=24) && adc1_wdt5_ac<32] | ADC_WDT5 << ADC_CWSEL3_WSEL_CHN(${adc1_wdt5_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_6.mode.value[0]??][#if adc1_wdt6_mode != "DISABLED"][#if (adc1_wdt6_ac>=24) && adc1_wdt6_ac<32] | ADC_WDT6 << ADC_CWSEL3_WSEL_CHN(${adc1_wdt6_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_7.mode.value[0]??][#if adc1_wdt7_mode != "DISABLED"][#if (adc1_wdt7_ac>=24) && adc1_wdt7_ac<32] | ADC_WDT7 << ADC_CWSEL3_WSEL_CHN(${adc1_wdt7_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_8.mode.value[0]??][#if adc1_wdt8_mode != "DISABLED"][#if (adc1_wdt8_ac>=24) && adc1_wdt8_ac<32] | ADC_WDT8 << ADC_CWSEL3_WSEL_CHN(${adc1_wdt8_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_9.mode.value[0]??][#if adc1_wdt9_mode != "DISABLED"][#if (adc1_wdt9_ac>=24) && adc1_wdt9_ac<32] | ADC_WDT9 << ADC_CWSEL3_WSEL_CHN(${adc1_wdt9_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_10.mode.value[0]??][#if adc1_wdt10_mode != "DISABLED"][#if (adc1_wdt10_ac>=24) && adc1_wdt10_ac<32] | ADC_WDT10 << ADC_CWSEL3_WSEL_CHN(${adc1_wdt10_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_11.mode.value[0]??][#if adc1_wdt11_mode != "DISABLED"][#if (adc1_wdt11_ac>=24) && adc1_wdt11_ac<32] | ADC_WDT11 << ADC_CWSEL3_WSEL_CHN(${adc1_wdt11_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_12.mode.value[0]??][#if adc1_wdt12_mode != "DISABLED"][#if (adc1_wdt12_ac>=24) && adc1_wdt12_ac<32] | ADC_WDT12 << ADC_CWSEL3_WSEL_CHN(${adc1_wdt12_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_13.mode.value[0]??][#if adc1_wdt13_mode != "DISABLED"][#if (adc1_wdt13_ac>=24) && adc1_wdt13_ac<32] | ADC_WDT13 << ADC_CWSEL3_WSEL_CHN(${adc1_wdt13_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_14.mode.value[0]??][#if adc1_wdt14_mode != "DISABLED"][#if (adc1_wdt14_ac>=24) && adc1_wdt14_ac<32] | ADC_WDT14 << ADC_CWSEL3_WSEL_CHN(${adc1_wdt14_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_15.mode.value[0]??][#if adc1_wdt15_mode != "DISABLED"][#if (adc1_wdt15_ac>=24) && adc1_wdt15_ac<32] | ADC_WDT15 << ADC_CWSEL3_WSEL_CHN(${adc1_wdt15_ac})[/#if][/#if][/#if],
    0[#if group.watchdog_thresholds_configuration.threshold_0.mode.value[0]??][#if adc1_wdt0_mode != "DISABLED"][#if (adc1_wdt0_ac>=32) && adc1_wdt0_ac<40] | ADC_WDT0 << ADC_CWSEL4_WSEL_CHN(${adc1_wdt0_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_1.mode.value[0]??][#if adc1_wdt1_mode != "DISABLED"][#if (adc1_wdt1_ac>=32) && adc1_wdt1_ac<40] | ADC_WDT1 << ADC_CWSEL4_WSEL_CHN(${adc1_wdt1_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_2.mode.value[0]??][#if adc1_wdt2_mode != "DISABLED"][#if (adc1_wdt2_ac>=32) && adc1_wdt2_ac<40] | ADC_WDT2 << ADC_CWSEL4_WSEL_CHN(${adc1_wdt2_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_3.mode.value[0]??][#if adc1_wdt3_mode != "DISABLED"][#if (adc1_wdt3_ac>=32) && adc1_wdt3_ac<40] | ADC_WDT3 << ADC_CWSEL4_WSEL_CHN(${adc1_wdt3_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_4.mode.value[0]??][#if adc1_wdt4_mode != "DISABLED"][#if (adc1_wdt4_ac>=32) && adc1_wdt4_ac<40] | ADC_WDT4 << ADC_CWSEL4_WSEL_CHN(${adc1_wdt4_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_5.mode.value[0]??][#if adc1_wdt5_mode != "DISABLED"][#if (adc1_wdt5_ac>=32) && adc1_wdt5_ac<40] | ADC_WDT5 << ADC_CWSEL4_WSEL_CHN(${adc1_wdt5_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_6.mode.value[0]??][#if adc1_wdt6_mode != "DISABLED"][#if (adc1_wdt6_ac>=32) && adc1_wdt6_ac<40] | ADC_WDT6 << ADC_CWSEL4_WSEL_CHN(${adc1_wdt6_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_7.mode.value[0]??][#if adc1_wdt7_mode != "DISABLED"][#if (adc1_wdt7_ac>=32) && adc1_wdt7_ac<40] | ADC_WDT7 << ADC_CWSEL4_WSEL_CHN(${adc1_wdt7_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_8.mode.value[0]??][#if adc1_wdt8_mode != "DISABLED"][#if (adc1_wdt8_ac>=32) && adc1_wdt8_ac<40] | ADC_WDT8 << ADC_CWSEL4_WSEL_CHN(${adc1_wdt8_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_9.mode.value[0]??][#if adc1_wdt9_mode != "DISABLED"][#if (adc1_wdt9_ac>=32) && adc1_wdt9_ac<40] | ADC_WDT9 << ADC_CWSEL4_WSEL_CHN(${adc1_wdt9_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_10.mode.value[0]??][#if adc1_wdt10_mode != "DISABLED"][#if (adc1_wdt10_ac>=32) && adc1_wdt10_ac<40] | ADC_WDT10 << ADC_CWSEL4_WSEL_CHN(${adc1_wdt10_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_11.mode.value[0]??][#if adc1_wdt11_mode != "DISABLED"][#if (adc1_wdt11_ac>=32) && adc1_wdt11_ac<40] | ADC_WDT11 << ADC_CWSEL4_WSEL_CHN(${adc1_wdt11_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_12.mode.value[0]??][#if adc1_wdt12_mode != "DISABLED"][#if (adc1_wdt12_ac>=32) && adc1_wdt12_ac<40] | ADC_WDT12 << ADC_CWSEL4_WSEL_CHN(${adc1_wdt12_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_13.mode.value[0]??][#if adc1_wdt13_mode != "DISABLED"][#if (adc1_wdt13_ac>=32) && adc1_wdt13_ac<40] | ADC_WDT13 << ADC_CWSEL4_WSEL_CHN(${adc1_wdt13_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_14.mode.value[0]??][#if adc1_wdt14_mode != "DISABLED"][#if (adc1_wdt14_ac>=32) && adc1_wdt14_ac<40] | ADC_WDT14 << ADC_CWSEL4_WSEL_CHN(${adc1_wdt14_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_15.mode.value[0]??][#if adc1_wdt15_mode != "DISABLED"][#if (adc1_wdt15_ac>=32) && adc1_wdt15_ac<40] | ADC_WDT15 << ADC_CWSEL4_WSEL_CHN(${adc1_wdt15_ac})[/#if][/#if][/#if],
    0[#if group.watchdog_thresholds_configuration.threshold_0.mode.value[0]??][#if adc1_wdt0_mode != "DISABLED"][#if (adc1_wdt0_ac>=40) && adc1_wdt0_ac<48] | ADC_WDT0 << ADC_CWSEL5_WSEL_CHN(${adc1_wdt0_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_1.mode.value[0]??][#if adc1_wdt1_mode != "DISABLED"][#if (adc1_wdt1_ac>=40) && adc1_wdt1_ac<48] | ADC_WDT1 << ADC_CWSEL5_WSEL_CHN(${adc1_wdt1_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_2.mode.value[0]??][#if adc1_wdt2_mode != "DISABLED"][#if (adc1_wdt2_ac>=40) && adc1_wdt2_ac<48] | ADC_WDT2 << ADC_CWSEL5_WSEL_CHN(${adc1_wdt2_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_3.mode.value[0]??][#if adc1_wdt3_mode != "DISABLED"][#if (adc1_wdt3_ac>=40) && adc1_wdt3_ac<48] | ADC_WDT3 << ADC_CWSEL5_WSEL_CHN(${adc1_wdt3_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_4.mode.value[0]??][#if adc1_wdt4_mode != "DISABLED"][#if (adc1_wdt4_ac>=40) && adc1_wdt4_ac<48] | ADC_WDT4 << ADC_CWSEL5_WSEL_CHN(${adc1_wdt4_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_5.mode.value[0]??][#if adc1_wdt5_mode != "DISABLED"][#if (adc1_wdt5_ac>=40) && adc1_wdt5_ac<48] | ADC_WDT5 << ADC_CWSEL5_WSEL_CHN(${adc1_wdt5_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_6.mode.value[0]??][#if adc1_wdt6_mode != "DISABLED"][#if (adc1_wdt6_ac>=40) && adc1_wdt6_ac<48] | ADC_WDT6 << ADC_CWSEL5_WSEL_CHN(${adc1_wdt6_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_7.mode.value[0]??][#if adc1_wdt7_mode != "DISABLED"][#if (adc1_wdt7_ac>=40) && adc1_wdt7_ac<48] | ADC_WDT7 << ADC_CWSEL5_WSEL_CHN(${adc1_wdt7_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_8.mode.value[0]??][#if adc1_wdt8_mode != "DISABLED"][#if (adc1_wdt8_ac>=40) && adc1_wdt8_ac<48] | ADC_WDT8 << ADC_CWSEL5_WSEL_CHN(${adc1_wdt8_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_9.mode.value[0]??][#if adc1_wdt9_mode != "DISABLED"][#if (adc1_wdt9_ac>=40) && adc1_wdt9_ac<48] | ADC_WDT9 << ADC_CWSEL5_WSEL_CHN(${adc1_wdt9_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_10.mode.value[0]??][#if adc1_wdt10_mode != "DISABLED"][#if (adc1_wdt10_ac>=40) && adc1_wdt10_ac<48] | ADC_WDT10 << ADC_CWSEL5_WSEL_CHN(${adc1_wdt10_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_11.mode.value[0]??][#if adc1_wdt11_mode != "DISABLED"][#if (adc1_wdt11_ac>=40) && adc1_wdt11_ac<48] | ADC_WDT11 << ADC_CWSEL5_WSEL_CHN(${adc1_wdt11_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_12.mode.value[0]??][#if adc1_wdt12_mode != "DISABLED"][#if (adc1_wdt12_ac>=40) && adc1_wdt12_ac<48] | ADC_WDT12 << ADC_CWSEL5_WSEL_CHN(${adc1_wdt12_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_13.mode.value[0]??][#if adc1_wdt13_mode != "DISABLED"][#if (adc1_wdt13_ac>=40) && adc1_wdt13_ac<48] | ADC_WDT13 << ADC_CWSEL5_WSEL_CHN(${adc1_wdt13_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_14.mode.value[0]??][#if adc1_wdt14_mode != "DISABLED"][#if (adc1_wdt14_ac>=40) && adc1_wdt14_ac<48] | ADC_WDT14 << ADC_CWSEL5_WSEL_CHN(${adc1_wdt14_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_15.mode.value[0]??][#if adc1_wdt15_mode != "DISABLED"][#if (adc1_wdt15_ac>=40) && adc1_wdt15_ac<48] | ADC_WDT15 << ADC_CWSEL5_WSEL_CHN(${adc1_wdt15_ac})[/#if][/#if][/#if],
    0[#if group.watchdog_thresholds_configuration.threshold_0.mode.value[0]??][#if adc1_wdt0_mode != "DISABLED"][#if (adc1_wdt0_ac>=48) && adc1_wdt0_ac<56] | ADC_WDT0 << ADC_CWSEL6_WSEL_CHN(${adc1_wdt0_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_1.mode.value[0]??][#if adc1_wdt1_mode != "DISABLED"][#if (adc1_wdt1_ac>=48) && adc1_wdt1_ac<56] | ADC_WDT1 << ADC_CWSEL6_WSEL_CHN(${adc1_wdt1_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_2.mode.value[0]??][#if adc1_wdt2_mode != "DISABLED"][#if (adc1_wdt2_ac>=48) && adc1_wdt2_ac<56] | ADC_WDT2 << ADC_CWSEL6_WSEL_CHN(${adc1_wdt2_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_3.mode.value[0]??][#if adc1_wdt3_mode != "DISABLED"][#if (adc1_wdt3_ac>=48) && adc1_wdt3_ac<56] | ADC_WDT3 << ADC_CWSEL6_WSEL_CHN(${adc1_wdt3_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_4.mode.value[0]??][#if adc1_wdt4_mode != "DISABLED"][#if (adc1_wdt4_ac>=48) && adc1_wdt4_ac<56] | ADC_WDT4 << ADC_CWSEL6_WSEL_CHN(${adc1_wdt4_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_5.mode.value[0]??][#if adc1_wdt5_mode != "DISABLED"][#if (adc1_wdt5_ac>=48) && adc1_wdt5_ac<56] | ADC_WDT5 << ADC_CWSEL6_WSEL_CHN(${adc1_wdt5_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_6.mode.value[0]??][#if adc1_wdt6_mode != "DISABLED"][#if (adc1_wdt6_ac>=48) && adc1_wdt6_ac<56] | ADC_WDT6 << ADC_CWSEL6_WSEL_CHN(${adc1_wdt6_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_7.mode.value[0]??][#if adc1_wdt7_mode != "DISABLED"][#if (adc1_wdt7_ac>=48) && adc1_wdt7_ac<56] | ADC_WDT7 << ADC_CWSEL6_WSEL_CHN(${adc1_wdt7_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_8.mode.value[0]??][#if adc1_wdt8_mode != "DISABLED"][#if (adc1_wdt8_ac>=48) && adc1_wdt8_ac<56] | ADC_WDT8 << ADC_CWSEL6_WSEL_CHN(${adc1_wdt8_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_9.mode.value[0]??][#if adc1_wdt9_mode != "DISABLED"][#if (adc1_wdt9_ac>=48) && adc1_wdt9_ac<56] | ADC_WDT9 << ADC_CWSEL6_WSEL_CHN(${adc1_wdt9_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_10.mode.value[0]??][#if adc1_wdt10_mode != "DISABLED"][#if (adc1_wdt10_ac>=48) && adc1_wdt10_ac<56] | ADC_WDT10 << ADC_CWSEL6_WSEL_CHN(${adc1_wdt10_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_11.mode.value[0]??][#if adc1_wdt11_mode != "DISABLED"][#if (adc1_wdt11_ac>=48) && adc1_wdt11_ac<56] | ADC_WDT11 << ADC_CWSEL6_WSEL_CHN(${adc1_wdt11_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_12.mode.value[0]??][#if adc1_wdt12_mode != "DISABLED"][#if (adc1_wdt12_ac>=48) && adc1_wdt12_ac<56] | ADC_WDT12 << ADC_CWSEL6_WSEL_CHN(${adc1_wdt12_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_13.mode.value[0]??][#if adc1_wdt13_mode != "DISABLED"][#if (adc1_wdt13_ac>=48) && adc1_wdt13_ac<56] | ADC_WDT13 << ADC_CWSEL6_WSEL_CHN(${adc1_wdt13_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_14.mode.value[0]??][#if adc1_wdt14_mode != "DISABLED"][#if (adc1_wdt14_ac>=48) && adc1_wdt14_ac<56] | ADC_WDT14 << ADC_CWSEL6_WSEL_CHN(${adc1_wdt14_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_15.mode.value[0]??][#if adc1_wdt15_mode != "DISABLED"][#if (adc1_wdt15_ac>=48) && adc1_wdt15_ac<56] | ADC_WDT15 << ADC_CWSEL6_WSEL_CHN(${adc1_wdt15_ac})[/#if][/#if][/#if],
    0[#if group.watchdog_thresholds_configuration.threshold_0.mode.value[0]??][#if adc1_wdt0_mode != "DISABLED"][#if (adc1_wdt0_ac>=56) && adc1_wdt0_ac<64] | ADC_WDT0 << ADC_CWSEL7_WSEL_CHN(${adc1_wdt0_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_1.mode.value[0]??][#if adc1_wdt1_mode != "DISABLED"][#if (adc1_wdt1_ac>=56) && adc1_wdt1_ac<64] | ADC_WDT1 << ADC_CWSEL7_WSEL_CHN(${adc1_wdt1_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_2.mode.value[0]??][#if adc1_wdt2_mode != "DISABLED"][#if (adc1_wdt2_ac>=56) && adc1_wdt2_ac<64] | ADC_WDT2 << ADC_CWSEL7_WSEL_CHN(${adc1_wdt2_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_3.mode.value[0]??][#if adc1_wdt3_mode != "DISABLED"][#if (adc1_wdt3_ac>=56) && adc1_wdt3_ac<64] | ADC_WDT3 << ADC_CWSEL7_WSEL_CHN(${adc1_wdt3_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_4.mode.value[0]??][#if adc1_wdt4_mode != "DISABLED"][#if (adc1_wdt4_ac>=56) && adc1_wdt4_ac<64] | ADC_WDT4 << ADC_CWSEL7_WSEL_CHN(${adc1_wdt4_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_5.mode.value[0]??][#if adc1_wdt5_mode != "DISABLED"][#if (adc1_wdt5_ac>=56) && adc1_wdt5_ac<64] | ADC_WDT5 << ADC_CWSEL7_WSEL_CHN(${adc1_wdt5_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_6.mode.value[0]??][#if adc1_wdt6_mode != "DISABLED"][#if (adc1_wdt6_ac>=56) && adc1_wdt6_ac<64] | ADC_WDT6 << ADC_CWSEL7_WSEL_CHN(${adc1_wdt6_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_7.mode.value[0]??][#if adc1_wdt7_mode != "DISABLED"][#if (adc1_wdt7_ac>=56) && adc1_wdt7_ac<64] | ADC_WDT7 << ADC_CWSEL7_WSEL_CHN(${adc1_wdt7_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_8.mode.value[0]??][#if adc1_wdt8_mode != "DISABLED"][#if (adc1_wdt8_ac>=56) && adc1_wdt8_ac<64] | ADC_WDT8 << ADC_CWSEL7_WSEL_CHN(${adc1_wdt8_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_9.mode.value[0]??][#if adc1_wdt9_mode != "DISABLED"][#if (adc1_wdt9_ac>=56) && adc1_wdt9_ac<64] | ADC_WDT9 << ADC_CWSEL7_WSEL_CHN(${adc1_wdt9_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_10.mode.value[0]??][#if adc1_wdt10_mode != "DISABLED"][#if (adc1_wdt10_ac>=56) && adc1_wdt10_ac<64] | ADC_WDT10 << ADC_CWSEL7_WSEL_CHN(${adc1_wdt10_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_11.mode.value[0]??][#if adc1_wdt11_mode != "DISABLED"][#if (adc1_wdt11_ac>=56) && adc1_wdt11_ac<64] | ADC_WDT11 << ADC_CWSEL7_WSEL_CHN(${adc1_wdt11_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_12.mode.value[0]??][#if adc1_wdt12_mode != "DISABLED"][#if (adc1_wdt12_ac>=56) && adc1_wdt12_ac<64] | ADC_WDT12 << ADC_CWSEL7_WSEL_CHN(${adc1_wdt12_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_13.mode.value[0]??][#if adc1_wdt13_mode != "DISABLED"][#if (adc1_wdt13_ac>=56) && adc1_wdt13_ac<64] | ADC_WDT13 << ADC_CWSEL7_WSEL_CHN(${adc1_wdt13_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_14.mode.value[0]??][#if adc1_wdt14_mode != "DISABLED"][#if (adc1_wdt14_ac>=56) && adc1_wdt14_ac<64] | ADC_WDT14 << ADC_CWSEL7_WSEL_CHN(${adc1_wdt14_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_15.mode.value[0]??][#if adc1_wdt15_mode != "DISABLED"][#if (adc1_wdt15_ac>=56) && adc1_wdt15_ac<64] | ADC_WDT15 << ADC_CWSEL7_WSEL_CHN(${adc1_wdt15_ac})[/#if][/#if][/#if],
    0[#if group.watchdog_thresholds_configuration.threshold_0.mode.value[0]??][#if adc1_wdt0_mode != "DISABLED"][#if (adc1_wdt0_ac>=64) && adc1_wdt0_ac<72] | ADC_WDT0 << ADC_CWSEL8_WSEL_CHN(${adc1_wdt0_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_1.mode.value[0]??][#if adc1_wdt1_mode != "DISABLED"][#if (adc1_wdt1_ac>=64) && adc1_wdt1_ac<72] | ADC_WDT1 << ADC_CWSEL8_WSEL_CHN(${adc1_wdt1_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_2.mode.value[0]??][#if adc1_wdt2_mode != "DISABLED"][#if (adc1_wdt2_ac>=64) && adc1_wdt2_ac<72] | ADC_WDT2 << ADC_CWSEL8_WSEL_CHN(${adc1_wdt2_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_3.mode.value[0]??][#if adc1_wdt3_mode != "DISABLED"][#if (adc1_wdt3_ac>=64) && adc1_wdt3_ac<72] | ADC_WDT3 << ADC_CWSEL8_WSEL_CHN(${adc1_wdt3_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_4.mode.value[0]??][#if adc1_wdt4_mode != "DISABLED"][#if (adc1_wdt4_ac>=64) && adc1_wdt4_ac<72] | ADC_WDT4 << ADC_CWSEL8_WSEL_CHN(${adc1_wdt4_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_5.mode.value[0]??][#if adc1_wdt5_mode != "DISABLED"][#if (adc1_wdt5_ac>=64) && adc1_wdt5_ac<72] | ADC_WDT5 << ADC_CWSEL8_WSEL_CHN(${adc1_wdt5_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_6.mode.value[0]??][#if adc1_wdt6_mode != "DISABLED"][#if (adc1_wdt6_ac>=64) && adc1_wdt6_ac<72] | ADC_WDT6 << ADC_CWSEL8_WSEL_CHN(${adc1_wdt6_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_7.mode.value[0]??][#if adc1_wdt7_mode != "DISABLED"][#if (adc1_wdt7_ac>=64) && adc1_wdt7_ac<72] | ADC_WDT7 << ADC_CWSEL8_WSEL_CHN(${adc1_wdt7_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_8.mode.value[0]??][#if adc1_wdt8_mode != "DISABLED"][#if (adc1_wdt8_ac>=64) && adc1_wdt8_ac<72] | ADC_WDT8 << ADC_CWSEL8_WSEL_CHN(${adc1_wdt8_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_9.mode.value[0]??][#if adc1_wdt9_mode != "DISABLED"][#if (adc1_wdt9_ac>=64) && adc1_wdt9_ac<72] | ADC_WDT9 << ADC_CWSEL8_WSEL_CHN(${adc1_wdt9_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_10.mode.value[0]??][#if adc1_wdt10_mode != "DISABLED"][#if (adc1_wdt10_ac>=64) && adc1_wdt10_ac<72] | ADC_WDT10 << ADC_CWSEL8_WSEL_CHN(${adc1_wdt10_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_11.mode.value[0]??][#if adc1_wdt11_mode != "DISABLED"][#if (adc1_wdt11_ac>=64) && adc1_wdt11_ac<72] | ADC_WDT11 << ADC_CWSEL8_WSEL_CHN(${adc1_wdt11_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_12.mode.value[0]??][#if adc1_wdt12_mode != "DISABLED"][#if (adc1_wdt12_ac>=64) && adc1_wdt12_ac<72] | ADC_WDT12 << ADC_CWSEL8_WSEL_CHN(${adc1_wdt12_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_13.mode.value[0]??][#if adc1_wdt13_mode != "DISABLED"][#if (adc1_wdt13_ac>=64) && adc1_wdt13_ac<72] | ADC_WDT13 << ADC_CWSEL8_WSEL_CHN(${adc1_wdt13_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_14.mode.value[0]??][#if adc1_wdt14_mode != "DISABLED"][#if (adc1_wdt14_ac>=64) && adc1_wdt14_ac<72] | ADC_WDT14 << ADC_CWSEL8_WSEL_CHN(${adc1_wdt14_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_15.mode.value[0]??][#if adc1_wdt15_mode != "DISABLED"][#if (adc1_wdt15_ac>=64) && adc1_wdt15_ac<72] | ADC_WDT15 << ADC_CWSEL8_WSEL_CHN(${adc1_wdt15_ac})[/#if][/#if][/#if],
    0[#if group.watchdog_thresholds_configuration.threshold_0.mode.value[0]??][#if adc1_wdt0_mode != "DISABLED"][#if (adc1_wdt0_ac>=72) && adc1_wdt0_ac<80] | ADC_WDT0 << ADC_CWSEL9_WSEL_CHN(${adc1_wdt0_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_1.mode.value[0]??][#if adc1_wdt1_mode != "DISABLED"][#if (adc1_wdt1_ac>=72) && adc1_wdt1_ac<80] | ADC_WDT1 << ADC_CWSEL9_WSEL_CHN(${adc1_wdt1_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_2.mode.value[0]??][#if adc1_wdt2_mode != "DISABLED"][#if (adc1_wdt2_ac>=72) && adc1_wdt2_ac<80] | ADC_WDT2 << ADC_CWSEL9_WSEL_CHN(${adc1_wdt2_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_3.mode.value[0]??][#if adc1_wdt3_mode != "DISABLED"][#if (adc1_wdt3_ac>=72) && adc1_wdt3_ac<80] | ADC_WDT3 << ADC_CWSEL9_WSEL_CHN(${adc1_wdt3_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_4.mode.value[0]??][#if adc1_wdt4_mode != "DISABLED"][#if (adc1_wdt4_ac>=72) && adc1_wdt4_ac<80] | ADC_WDT4 << ADC_CWSEL9_WSEL_CHN(${adc1_wdt4_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_5.mode.value[0]??][#if adc1_wdt5_mode != "DISABLED"][#if (adc1_wdt5_ac>=72) && adc1_wdt5_ac<80] | ADC_WDT5 << ADC_CWSEL9_WSEL_CHN(${adc1_wdt5_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_6.mode.value[0]??][#if adc1_wdt6_mode != "DISABLED"][#if (adc1_wdt6_ac>=72) && adc1_wdt6_ac<80] | ADC_WDT6 << ADC_CWSEL9_WSEL_CHN(${adc1_wdt6_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_7.mode.value[0]??][#if adc1_wdt7_mode != "DISABLED"][#if (adc1_wdt7_ac>=72) && adc1_wdt7_ac<80] | ADC_WDT7 << ADC_CWSEL9_WSEL_CHN(${adc1_wdt7_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_8.mode.value[0]??][#if adc1_wdt8_mode != "DISABLED"][#if (adc1_wdt8_ac>=72) && adc1_wdt8_ac<80] | ADC_WDT8 << ADC_CWSEL9_WSEL_CHN(${adc1_wdt8_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_9.mode.value[0]??][#if adc1_wdt9_mode != "DISABLED"][#if (adc1_wdt9_ac>=72) && adc1_wdt9_ac<80] | ADC_WDT9 << ADC_CWSEL9_WSEL_CHN(${adc1_wdt9_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_10.mode.value[0]??][#if adc1_wdt10_mode != "DISABLED"][#if (adc1_wdt10_ac>=72) && adc1_wdt10_ac<80] | ADC_WDT10 << ADC_CWSEL9_WSEL_CHN(${adc1_wdt10_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_11.mode.value[0]??][#if adc1_wdt11_mode != "DISABLED"][#if (adc1_wdt11_ac>=72) && adc1_wdt11_ac<80] | ADC_WDT11 << ADC_CWSEL9_WSEL_CHN(${adc1_wdt11_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_12.mode.value[0]??][#if adc1_wdt12_mode != "DISABLED"][#if (adc1_wdt12_ac>=72) && adc1_wdt12_ac<80] | ADC_WDT12 << ADC_CWSEL9_WSEL_CHN(${adc1_wdt12_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_13.mode.value[0]??][#if adc1_wdt13_mode != "DISABLED"][#if (adc1_wdt13_ac>=72) && adc1_wdt13_ac<80] | ADC_WDT13 << ADC_CWSEL9_WSEL_CHN(${adc1_wdt13_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_14.mode.value[0]??][#if adc1_wdt14_mode != "DISABLED"][#if (adc1_wdt14_ac>=72) && adc1_wdt14_ac<80] | ADC_WDT14 << ADC_CWSEL9_WSEL_CHN(${adc1_wdt14_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_15.mode.value[0]??][#if adc1_wdt15_mode != "DISABLED"][#if (adc1_wdt15_ac>=72) && adc1_wdt15_ac<80] | ADC_WDT15 << ADC_CWSEL9_WSEL_CHN(${adc1_wdt15_ac})[/#if][/#if][/#if],
    0[#if group.watchdog_thresholds_configuration.threshold_0.mode.value[0]??][#if adc1_wdt0_mode != "DISABLED"][#if (adc1_wdt0_ac>=80) && adc1_wdt0_ac<88] | ADC_WDT0 << ADC_CWSEL10_WSEL_CHN(${adc1_wdt0_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_1.mode.value[0]??][#if adc1_wdt1_mode != "DISABLED"][#if (adc1_wdt1_ac>=80) && adc1_wdt1_ac<88] | ADC_WDT1 << ADC_CWSEL10_WSEL_CHN(${adc1_wdt1_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_2.mode.value[0]??][#if adc1_wdt2_mode != "DISABLED"][#if (adc1_wdt2_ac>=80) && adc1_wdt2_ac<88] | ADC_WDT2 << ADC_CWSEL10_WSEL_CHN(${adc1_wdt2_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_3.mode.value[0]??][#if adc1_wdt3_mode != "DISABLED"][#if (adc1_wdt3_ac>=80) && adc1_wdt3_ac<88] | ADC_WDT3 << ADC_CWSEL10_WSEL_CHN(${adc1_wdt3_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_4.mode.value[0]??][#if adc1_wdt4_mode != "DISABLED"][#if (adc1_wdt4_ac>=80) && adc1_wdt4_ac<88] | ADC_WDT4 << ADC_CWSEL10_WSEL_CHN(${adc1_wdt4_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_5.mode.value[0]??][#if adc1_wdt5_mode != "DISABLED"][#if (adc1_wdt5_ac>=80) && adc1_wdt5_ac<88] | ADC_WDT5 << ADC_CWSEL10_WSEL_CHN(${adc1_wdt5_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_6.mode.value[0]??][#if adc1_wdt6_mode != "DISABLED"][#if (adc1_wdt6_ac>=80) && adc1_wdt6_ac<88] | ADC_WDT6 << ADC_CWSEL10_WSEL_CHN(${adc1_wdt6_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_7.mode.value[0]??][#if adc1_wdt7_mode != "DISABLED"][#if (adc1_wdt7_ac>=80) && adc1_wdt7_ac<88] | ADC_WDT7 << ADC_CWSEL10_WSEL_CHN(${adc1_wdt7_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_8.mode.value[0]??][#if adc1_wdt8_mode != "DISABLED"][#if (adc1_wdt8_ac>=80) && adc1_wdt8_ac<88] | ADC_WDT8 << ADC_CWSEL10_WSEL_CHN(${adc1_wdt8_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_9.mode.value[0]??][#if adc1_wdt9_mode != "DISABLED"][#if (adc1_wdt9_ac>=80) && adc1_wdt9_ac<88] | ADC_WDT9 << ADC_CWSEL10_WSEL_CHN(${adc1_wdt9_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_10.mode.value[0]??][#if adc1_wdt10_mode != "DISABLED"][#if (adc1_wdt10_ac>=80) && adc1_wdt10_ac<88] | ADC_WDT10 << ADC_CWSEL10_WSEL_CHN(${adc1_wdt10_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_11.mode.value[0]??][#if adc1_wdt11_mode != "DISABLED"][#if (adc1_wdt11_ac>=80) && adc1_wdt11_ac<88] | ADC_WDT11 << ADC_CWSEL10_WSEL_CHN(${adc1_wdt11_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_12.mode.value[0]??][#if adc1_wdt12_mode != "DISABLED"][#if (adc1_wdt12_ac>=80) && adc1_wdt12_ac<88] | ADC_WDT12 << ADC_CWSEL10_WSEL_CHN(${adc1_wdt12_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_13.mode.value[0]??][#if adc1_wdt13_mode != "DISABLED"][#if (adc1_wdt13_ac>=80) && adc1_wdt13_ac<88] | ADC_WDT13 << ADC_CWSEL10_WSEL_CHN(${adc1_wdt13_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_14.mode.value[0]??][#if adc1_wdt14_mode != "DISABLED"][#if (adc1_wdt14_ac>=80) && adc1_wdt14_ac<88] | ADC_WDT14 << ADC_CWSEL10_WSEL_CHN(${adc1_wdt14_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_15.mode.value[0]??][#if adc1_wdt15_mode != "DISABLED"][#if (adc1_wdt15_ac>=80) && adc1_wdt15_ac<88] | ADC_WDT15 << ADC_CWSEL10_WSEL_CHN(${adc1_wdt15_ac})[/#if][/#if][/#if],
    0[#if group.watchdog_thresholds_configuration.threshold_0.mode.value[0]??][#if adc1_wdt0_mode != "DISABLED"][#if (adc1_wdt0_ac>=88) && adc1_wdt0_ac<96] | ADC_WDT0 << ADC_CWSEL11_WSEL_CHN(${adc1_wdt0_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_1.mode.value[0]??][#if adc1_wdt1_mode != "DISABLED"][#if (adc1_wdt1_ac>=88) && adc1_wdt1_ac<96] | ADC_WDT1 << ADC_CWSEL11_WSEL_CHN(${adc1_wdt1_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_2.mode.value[0]??][#if adc1_wdt2_mode != "DISABLED"][#if (adc1_wdt2_ac>=88) && adc1_wdt2_ac<96] | ADC_WDT2 << ADC_CWSEL11_WSEL_CHN(${adc1_wdt2_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_3.mode.value[0]??][#if adc1_wdt3_mode != "DISABLED"][#if (adc1_wdt3_ac>=88) && adc1_wdt3_ac<96] | ADC_WDT3 << ADC_CWSEL11_WSEL_CHN(${adc1_wdt3_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_4.mode.value[0]??][#if adc1_wdt4_mode != "DISABLED"][#if (adc1_wdt4_ac>=88) && adc1_wdt4_ac<96] | ADC_WDT4 << ADC_CWSEL11_WSEL_CHN(${adc1_wdt4_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_5.mode.value[0]??][#if adc1_wdt5_mode != "DISABLED"][#if (adc1_wdt5_ac>=88) && adc1_wdt5_ac<96] | ADC_WDT5 << ADC_CWSEL11_WSEL_CHN(${adc1_wdt5_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_6.mode.value[0]??][#if adc1_wdt6_mode != "DISABLED"][#if (adc1_wdt6_ac>=88) && adc1_wdt6_ac<96] | ADC_WDT6 << ADC_CWSEL11_WSEL_CHN(${adc1_wdt6_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_7.mode.value[0]??][#if adc1_wdt7_mode != "DISABLED"][#if (adc1_wdt7_ac>=88) && adc1_wdt7_ac<96] | ADC_WDT7 << ADC_CWSEL11_WSEL_CHN(${adc1_wdt7_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_8.mode.value[0]??][#if adc1_wdt8_mode != "DISABLED"][#if (adc1_wdt8_ac>=88) && adc1_wdt8_ac<96] | ADC_WDT8 << ADC_CWSEL11_WSEL_CHN(${adc1_wdt8_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_9.mode.value[0]??][#if adc1_wdt9_mode != "DISABLED"][#if (adc1_wdt9_ac>=88) && adc1_wdt9_ac<96] | ADC_WDT9 << ADC_CWSEL11_WSEL_CHN(${adc1_wdt9_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_10.mode.value[0]??][#if adc1_wdt10_mode != "DISABLED"][#if (adc1_wdt10_ac>=88) && adc1_wdt10_ac<96] | ADC_WDT10 << ADC_CWSEL11_WSEL_CHN(${adc1_wdt10_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_11.mode.value[0]??][#if adc1_wdt11_mode != "DISABLED"][#if (adc1_wdt11_ac>=88) && adc1_wdt11_ac<96] | ADC_WDT11 << ADC_CWSEL11_WSEL_CHN(${adc1_wdt11_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_12.mode.value[0]??][#if adc1_wdt12_mode != "DISABLED"][#if (adc1_wdt12_ac>=88) && adc1_wdt12_ac<96] | ADC_WDT12 << ADC_CWSEL11_WSEL_CHN(${adc1_wdt12_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_13.mode.value[0]??][#if adc1_wdt13_mode != "DISABLED"][#if (adc1_wdt13_ac>=88) && adc1_wdt13_ac<96] | ADC_WDT13 << ADC_CWSEL11_WSEL_CHN(${adc1_wdt13_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_14.mode.value[0]??][#if adc1_wdt14_mode != "DISABLED"][#if (adc1_wdt14_ac>=88) && adc1_wdt14_ac<96] | ADC_WDT14 << ADC_CWSEL11_WSEL_CHN(${adc1_wdt14_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_15.mode.value[0]??][#if adc1_wdt15_mode != "DISABLED"][#if (adc1_wdt15_ac>=88) && adc1_wdt15_ac<96] | ADC_WDT15 << ADC_CWSEL11_WSEL_CHN(${adc1_wdt15_ac})[/#if][/#if][/#if],
  },
  {
    [#if group.watchdog_thresholds_configuration.threshold_0.mode.value[0]??]ADC_THRHLR_THRH(${adc1_wdt0_htv}) | ADC_THRHLR_THRL(${adc1_wdt0_ltv})[#else]0xFFFF0000[/#if],
    [#if group.watchdog_thresholds_configuration.threshold_1.mode.value[0]??]ADC_THRHLR_THRH(${adc1_wdt1_htv}) | ADC_THRHLR_THRL(${adc1_wdt1_ltv})[#else]0xFFFF0000[/#if],
    [#if group.watchdog_thresholds_configuration.threshold_2.mode.value[0]??]ADC_THRHLR_THRH(${adc1_wdt2_htv}) | ADC_THRHLR_THRL(${adc1_wdt2_ltv})[#else]0xFFFF0000[/#if],
    [#if group.watchdog_thresholds_configuration.threshold_3.mode.value[0]??]ADC_THRHLR_THRH(${adc1_wdt3_htv}) | ADC_THRHLR_THRL(${adc1_wdt3_ltv})[#else]0xFFFF0000[/#if],
    [#if group.watchdog_thresholds_configuration.threshold_4.mode.value[0]??]ADC_THRHLR_THRH(${adc1_wdt4_htv}) | ADC_THRHLR_THRL(${adc1_wdt4_ltv})[#else]0xFFFF0000[/#if],
    [#if group.watchdog_thresholds_configuration.threshold_5.mode.value[0]??]ADC_THRHLR_THRH(${adc1_wdt5_htv}) | ADC_THRHLR_THRL(${adc1_wdt5_ltv})[#else]0xFFFF0000[/#if],
    [#if group.watchdog_thresholds_configuration.threshold_6.mode.value[0]??]ADC_THRHLR_THRH(${adc1_wdt6_htv}) | ADC_THRHLR_THRL(${adc1_wdt6_ltv})[#else]0xFFFF0000[/#if],
    [#if group.watchdog_thresholds_configuration.threshold_7.mode.value[0]??]ADC_THRHLR_THRH(${adc1_wdt7_htv}) | ADC_THRHLR_THRL(${adc1_wdt7_ltv})[#else]0xFFFF0000[/#if],
    [#if group.watchdog_thresholds_configuration.threshold_8.mode.value[0]??]ADC_THRHLR_THRH(${adc1_wdt8_htv}) | ADC_THRHLR_THRL(${adc1_wdt8_ltv})[#else]0xFFFF0000[/#if],
    [#if group.watchdog_thresholds_configuration.threshold_9.mode.value[0]??]ADC_THRHLR_THRH(${adc1_wdt9_htv}) | ADC_THRHLR_THRL(${adc1_wdt9_ltv})[#else]0xFFFF0000[/#if],
    [#if group.watchdog_thresholds_configuration.threshold_10.mode.value[0]??]ADC_THRHLR_THRH(${adc1_wdt10_htv}) | ADC_THRHLR_THRL(${adc1_wdt10_ltv})[#else]0xFFFF0000[/#if],
    [#if group.watchdog_thresholds_configuration.threshold_11.mode.value[0]??]ADC_THRHLR_THRH(${adc1_wdt11_htv}) | ADC_THRHLR_THRL(${adc1_wdt11_ltv})[#else]0xFFFF0000[/#if],
    [#if group.watchdog_thresholds_configuration.threshold_12.mode.value[0]??]ADC_THRHLR_THRH(${adc1_wdt12_htv}) | ADC_THRHLR_THRL(${adc1_wdt12_ltv})[#else]0xFFFF0000[/#if],
    [#if group.watchdog_thresholds_configuration.threshold_13.mode.value[0]??]ADC_THRHLR_THRH(${adc1_wdt13_htv}) | ADC_THRHLR_THRL(${adc1_wdt13_ltv})[#else]0xFFFF0000[/#if],
    [#if group.watchdog_thresholds_configuration.threshold_14.mode.value[0]??]ADC_THRHLR_THRH(${adc1_wdt14_htv}) | ADC_THRHLR_THRL(${adc1_wdt14_ltv})[#else]0xFFFF0000[/#if],
    [#if group.watchdog_thresholds_configuration.threshold_15.mode.value[0]??]ADC_THRHLR_THRH(${adc1_wdt15_htv}) | ADC_THRHLR_THRL(${adc1_wdt15_ltv})[#else]0xFFFF0000[/#if]
  },
  {
    0[#if group.watchdog_thresholds_configuration.threshold_0.mode.value[0]??][#if adc1_wdt0_mode != "DISABLED"][#if (adc1_wdt0_ac>=0) && adc1_wdt0_ac<32] | ADC_CWENR0_CWEN_CHN(${adc1_wdt0_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_1.mode.value[0]??][#if adc1_wdt1_mode != "DISABLED"][#if (adc1_wdt1_ac>=0) && adc1_wdt1_ac<32] | ADC_CWENR0_CWEN_CHN(${adc1_wdt1_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_2.mode.value[0]??][#if adc1_wdt2_mode != "DISABLED"][#if (adc1_wdt2_ac>=0) && adc1_wdt2_ac<32] | ADC_CWENR0_CWEN_CHN(${adc1_wdt2_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_3.mode.value[0]??][#if adc1_wdt3_mode != "DISABLED"][#if (adc1_wdt3_ac>=0) && adc1_wdt3_ac<32] | ADC_CWENR0_CWEN_CHN(${adc1_wdt3_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_4.mode.value[0]??][#if adc1_wdt4_mode != "DISABLED"][#if (adc1_wdt4_ac>=0) && adc1_wdt4_ac<32] | ADC_CWENR0_CWEN_CHN(${adc1_wdt4_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_5.mode.value[0]??][#if adc1_wdt5_mode != "DISABLED"][#if (adc1_wdt5_ac>=0) && adc1_wdt5_ac<32] | ADC_CWENR0_CWEN_CHN(${adc1_wdt5_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_6.mode.value[0]??][#if adc1_wdt6_mode != "DISABLED"][#if (adc1_wdt6_ac>=0) && adc1_wdt6_ac<32] | ADC_CWENR0_CWEN_CHN(${adc1_wdt6_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_7.mode.value[0]??][#if adc1_wdt7_mode != "DISABLED"][#if (adc1_wdt7_ac>=0) && adc1_wdt7_ac<32] | ADC_CWENR0_CWEN_CHN(${adc1_wdt7_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_8.mode.value[0]??][#if adc1_wdt8_mode != "DISABLED"][#if (adc1_wdt8_ac>=0) && adc1_wdt8_ac<32] | ADC_CWENR0_CWEN_CHN(${adc1_wdt8_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_9.mode.value[0]??][#if adc1_wdt9_mode != "DISABLED"][#if (adc1_wdt9_ac>=0) && adc1_wdt9_ac<32] | ADC_CWENR0_CWEN_CHN(${adc1_wdt9_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_10.mode.value[0]??][#if adc1_wdt10_mode != "DISABLED"][#if (adc1_wdt10_ac>=0) && adc1_wdt10_ac<32] | ADC_CWENR0_CWEN_CHN(${adc1_wdt10_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_11.mode.value[0]??][#if adc1_wdt11_mode != "DISABLED"][#if (adc1_wdt11_ac>=0) && adc1_wdt11_ac<32] | ADC_CWENR0_CWEN_CHN(${adc1_wdt11_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_12.mode.value[0]??][#if adc1_wdt12_mode != "DISABLED"][#if (adc1_wdt12_ac>=0) && adc1_wdt12_ac<32] | ADC_CWENR0_CWEN_CHN(${adc1_wdt12_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_13.mode.value[0]??][#if adc1_wdt13_mode != "DISABLED"][#if (adc1_wdt13_ac>=0) && adc1_wdt13_ac<32] | ADC_CWENR0_CWEN_CHN(${adc1_wdt13_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_14.mode.value[0]??][#if adc1_wdt14_mode != "DISABLED"][#if (adc1_wdt14_ac>=0) && adc1_wdt14_ac<32] | ADC_CWENR0_CWEN_CHN(${adc1_wdt14_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_15.mode.value[0]??][#if adc1_wdt15_mode != "DISABLED"][#if (adc1_wdt15_ac>=0) && adc1_wdt15_ac<32] | ADC_CWENR0_CWEN_CHN(${adc1_wdt15_ac})[/#if][/#if][/#if],
    0[#if group.watchdog_thresholds_configuration.threshold_0.mode.value[0]??][#if adc1_wdt0_mode != "DISABLED"][#if (adc1_wdt0_ac>=32) && adc1_wdt0_ac<64] | ADC_CWENR1_CWEN_CHN(${adc1_wdt0_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_1.mode.value[0]??][#if adc1_wdt1_mode != "DISABLED"][#if (adc1_wdt1_ac>=32) && adc1_wdt1_ac<64] | ADC_CWENR1_CWEN_CHN(${adc1_wdt1_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_2.mode.value[0]??][#if adc1_wdt2_mode != "DISABLED"][#if (adc1_wdt2_ac>=32) && adc1_wdt2_ac<64] | ADC_CWENR1_CWEN_CHN(${adc1_wdt2_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_3.mode.value[0]??][#if adc1_wdt3_mode != "DISABLED"][#if (adc1_wdt3_ac>=32) && adc1_wdt3_ac<64] | ADC_CWENR1_CWEN_CHN(${adc1_wdt3_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_4.mode.value[0]??][#if adc1_wdt4_mode != "DISABLED"][#if (adc1_wdt4_ac>=32) && adc1_wdt4_ac<64] | ADC_CWENR1_CWEN_CHN(${adc1_wdt4_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_5.mode.value[0]??][#if adc1_wdt5_mode != "DISABLED"][#if (adc1_wdt5_ac>=32) && adc1_wdt5_ac<64] | ADC_CWENR1_CWEN_CHN(${adc1_wdt5_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_6.mode.value[0]??][#if adc1_wdt6_mode != "DISABLED"][#if (adc1_wdt6_ac>=32) && adc1_wdt6_ac<64] | ADC_CWENR1_CWEN_CHN(${adc1_wdt6_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_7.mode.value[0]??][#if adc1_wdt7_mode != "DISABLED"][#if (adc1_wdt7_ac>=32) && adc1_wdt7_ac<64] | ADC_CWENR1_CWEN_CHN(${adc1_wdt7_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_8.mode.value[0]??][#if adc1_wdt8_mode != "DISABLED"][#if (adc1_wdt8_ac>=32) && adc1_wdt8_ac<64] | ADC_CWENR1_CWEN_CHN(${adc1_wdt8_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_9.mode.value[0]??][#if adc1_wdt9_mode != "DISABLED"][#if (adc1_wdt9_ac>=32) && adc1_wdt9_ac<64] | ADC_CWENR1_CWEN_CHN(${adc1_wdt9_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_10.mode.value[0]??][#if adc1_wdt10_mode != "DISABLED"][#if (adc1_wdt10_ac>=32) && adc1_wdt10_ac<64] | ADC_CWENR1_CWEN_CHN(${adc1_wdt10_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_11.mode.value[0]??][#if adc1_wdt11_mode != "DISABLED"][#if (adc1_wdt11_ac>=32) && adc1_wdt11_ac<64] | ADC_CWENR1_CWEN_CHN(${adc1_wdt11_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_12.mode.value[0]??][#if adc1_wdt12_mode != "DISABLED"][#if (adc1_wdt12_ac>=32) && adc1_wdt12_ac<64] | ADC_CWENR1_CWEN_CHN(${adc1_wdt12_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_13.mode.value[0]??][#if adc1_wdt13_mode != "DISABLED"][#if (adc1_wdt13_ac>=32) && adc1_wdt13_ac<64] | ADC_CWENR1_CWEN_CHN(${adc1_wdt13_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_14.mode.value[0]??][#if adc1_wdt14_mode != "DISABLED"][#if (adc1_wdt14_ac>=32) && adc1_wdt14_ac<64] | ADC_CWENR1_CWEN_CHN(${adc1_wdt14_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_15.mode.value[0]??][#if adc1_wdt15_mode != "DISABLED"][#if (adc1_wdt15_ac>=32) && adc1_wdt15_ac<64] | ADC_CWENR1_CWEN_CHN(${adc1_wdt15_ac})[/#if][/#if][/#if],
    0[#if group.watchdog_thresholds_configuration.threshold_0.mode.value[0]??][#if adc1_wdt0_mode != "DISABLED"][#if (adc1_wdt0_ac>=64) && adc1_wdt0_ac<96] | ADC_CWENR2_CWEN_CHN(${adc1_wdt0_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_1.mode.value[0]??][#if adc1_wdt1_mode != "DISABLED"][#if (adc1_wdt1_ac>=64) && adc1_wdt1_ac<96] | ADC_CWENR2_CWEN_CHN(${adc1_wdt1_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_2.mode.value[0]??][#if adc1_wdt2_mode != "DISABLED"][#if (adc1_wdt2_ac>=64) && adc1_wdt2_ac<96] | ADC_CWENR2_CWEN_CHN(${adc1_wdt2_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_3.mode.value[0]??][#if adc1_wdt3_mode != "DISABLED"][#if (adc1_wdt3_ac>=64) && adc1_wdt3_ac<96] | ADC_CWENR2_CWEN_CHN(${adc1_wdt3_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_4.mode.value[0]??][#if adc1_wdt4_mode != "DISABLED"][#if (adc1_wdt4_ac>=64) && adc1_wdt4_ac<96] | ADC_CWENR2_CWEN_CHN(${adc1_wdt4_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_5.mode.value[0]??][#if adc1_wdt5_mode != "DISABLED"][#if (adc1_wdt5_ac>=64) && adc1_wdt5_ac<96] | ADC_CWENR2_CWEN_CHN(${adc1_wdt5_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_6.mode.value[0]??][#if adc1_wdt6_mode != "DISABLED"][#if (adc1_wdt6_ac>=64) && adc1_wdt6_ac<96] | ADC_CWENR2_CWEN_CHN(${adc1_wdt6_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_7.mode.value[0]??][#if adc1_wdt7_mode != "DISABLED"][#if (adc1_wdt7_ac>=64) && adc1_wdt7_ac<96] | ADC_CWENR2_CWEN_CHN(${adc1_wdt7_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_8.mode.value[0]??][#if adc1_wdt8_mode != "DISABLED"][#if (adc1_wdt8_ac>=64) && adc1_wdt8_ac<96] | ADC_CWENR2_CWEN_CHN(${adc1_wdt8_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_9.mode.value[0]??][#if adc1_wdt9_mode != "DISABLED"][#if (adc1_wdt9_ac>=64) && adc1_wdt9_ac<96] | ADC_CWENR2_CWEN_CHN(${adc1_wdt9_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_10.mode.value[0]??][#if adc1_wdt10_mode != "DISABLED"][#if (adc1_wdt10_ac>=64) && adc1_wdt10_ac<96] | ADC_CWENR2_CWEN_CHN(${adc1_wdt10_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_11.mode.value[0]??][#if adc1_wdt11_mode != "DISABLED"][#if (adc1_wdt11_ac>=64) && adc1_wdt11_ac<96] | ADC_CWENR2_CWEN_CHN(${adc1_wdt11_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_12.mode.value[0]??][#if adc1_wdt12_mode != "DISABLED"][#if (adc1_wdt12_ac>=64) && adc1_wdt12_ac<96] | ADC_CWENR2_CWEN_CHN(${adc1_wdt12_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_13.mode.value[0]??][#if adc1_wdt13_mode != "DISABLED"][#if (adc1_wdt13_ac>=64) && adc1_wdt13_ac<96] | ADC_CWENR2_CWEN_CHN(${adc1_wdt13_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_14.mode.value[0]??][#if adc1_wdt14_mode != "DISABLED"][#if (adc1_wdt14_ac>=64) && adc1_wdt14_ac<96] | ADC_CWENR2_CWEN_CHN(${adc1_wdt14_ac})[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_15.mode.value[0]??][#if adc1_wdt15_mode != "DISABLED"][#if (adc1_wdt15_ac>=64) && adc1_wdt15_ac<96] | ADC_CWENR2_CWEN_CHN(${adc1_wdt15_ac})[/#if][/#if][/#if]
  },
  0[#if group.watchdog_thresholds_configuration.threshold_0.mode.value[0]??][#if adc1_wdt0_mode != "DISABLED"][#if adc1_wdt0_mode == "HIGH_LEVEL_INT"] | ADC_WTIMR_MSKWDG0_HIGH[/#if][#if adc1_wdt0_mode == "LOW_LEVEL_INT"] | ADC_WTIMR_MSKWDG0_LOW[/#if][#if adc1_wdt0_mode == "HIGH_LOW_LEVEL_INT"] | ADC_WTIMR_MSKWDG0_BOTH[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_1.mode.value[0]??][#if adc1_wdt1_mode != "DISABLED"][#if adc1_wdt1_mode == "HIGH_LEVEL_INT"] | ADC_WTIMR_MSKWDG1_HIGH[/#if][#if adc1_wdt1_mode == "LOW_LEVEL_INT"] | ADC_WTIMR_MSKWDG1_LOW[/#if][#if adc1_wdt1_mode == "HIGH_LOW_LEVEL_INT"] | ADC_WTIMR_MSKWDG1_BOTH[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_2.mode.value[0]??][#if adc1_wdt2_mode != "DISABLED"][#if adc1_wdt2_mode == "HIGH_LEVEL_INT"] | ADC_WTIMR_MSKWDG2_HIGH[/#if][#if adc1_wdt2_mode == "LOW_LEVEL_INT"] | ADC_WTIMR_MSKWDG2_LOW[/#if][#if adc1_wdt2_mode == "HIGH_LOW_LEVEL_INT"] | ADC_WTIMR_MSKWDG2_BOTH[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_3.mode.value[0]??][#if adc1_wdt3_mode != "DISABLED"][#if adc1_wdt3_mode == "HIGH_LEVEL_INT"] | ADC_WTIMR_MSKWDG3_HIGH[/#if][#if adc1_wdt3_mode == "LOW_LEVEL_INT"] | ADC_WTIMR_MSKWDG3_LOW[/#if][#if adc1_wdt3_mode == "HIGH_LOW_LEVEL_INT"] | ADC_WTIMR_MSKWDG3_BOTH[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_4.mode.value[0]??][#if adc1_wdt4_mode != "DISABLED"][#if adc1_wdt4_mode == "HIGH_LEVEL_INT"] | ADC_WTIMR_MSKWDG4_HIGH[/#if][#if adc1_wdt4_mode == "LOW_LEVEL_INT"] | ADC_WTIMR_MSKWDG4_LOW[/#if][#if adc1_wdt4_mode == "HIGH_LOW_LEVEL_INT"] | ADC_WTIMR_MSKWDG4_BOTH[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_5.mode.value[0]??][#if adc1_wdt5_mode != "DISABLED"][#if adc1_wdt5_mode == "HIGH_LEVEL_INT"] | ADC_WTIMR_MSKWDG5_HIGH[/#if][#if adc1_wdt5_mode == "LOW_LEVEL_INT"] | ADC_WTIMR_MSKWDG5_LOW[/#if][#if adc1_wdt5_mode == "HIGH_LOW_LEVEL_INT"] | ADC_WTIMR_MSKWDG5_BOTH[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_6.mode.value[0]??][#if adc1_wdt6_mode != "DISABLED"][#if adc1_wdt6_mode == "HIGH_LEVEL_INT"] | ADC_WTIMR_MSKWDG6_HIGH[/#if][#if adc1_wdt6_mode == "LOW_LEVEL_INT"] | ADC_WTIMR_MSKWDG6_LOW[/#if][#if adc1_wdt6_mode == "HIGH_LOW_LEVEL_INT"] | ADC_WTIMR_MSKWDG6_BOTH[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_7.mode.value[0]??][#if adc1_wdt7_mode != "DISABLED"][#if adc1_wdt7_mode == "HIGH_LEVEL_INT"] | ADC_WTIMR_MSKWDG7_HIGH[/#if][#if adc1_wdt7_mode == "LOW_LEVEL_INT"] | ADC_WTIMR_MSKWDG7_LOW[/#if][#if adc1_wdt7_mode == "HIGH_LOW_LEVEL_INT"] | ADC_WTIMR_MSKWDG7_BOTH[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_8.mode.value[0]??][#if adc1_wdt8_mode != "DISABLED"][#if adc1_wdt8_mode == "HIGH_LEVEL_INT"] | ADC_WTIMR_MSKWDG8_HIGH[/#if][#if adc1_wdt8_mode == "LOW_LEVEL_INT"] | ADC_WTIMR_MSKWDG8_LOW[/#if][#if adc1_wdt8_mode == "HIGH_LOW_LEVEL_INT"] | ADC_WTIMR_MSKWDG8_BOTH[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_9.mode.value[0]??][#if adc1_wdt9_mode != "DISABLED"][#if adc1_wdt9_mode == "HIGH_LEVEL_INT"] | ADC_WTIMR_MSKWDG9_HIGH[/#if][#if adc1_wdt9_mode == "LOW_LEVEL_INT"] | ADC_WTIMR_MSKWDG9_LOW[/#if][#if adc1_wdt9_mode == "HIGH_LOW_LEVEL_INT"] | ADC_WTIMR_MSKWDG9_BOTH[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_10.mode.value[0]??][#if adc1_wdt10_mode != "DISABLED"][#if adc1_wdt10_mode == "HIGH_LEVEL_INT"] | ADC_WTIMR_MSKWDG10_HIGH[/#if][#if adc1_wdt10_mode == "LOW_LEVEL_INT"] | ADC_WTIMR_MSKWDG10_LOW[/#if][#if adc1_wdt10_mode == "HIGH_LOW_LEVEL_INT"] | ADC_WTIMR_MSKWDG10_BOTH[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_11.mode.value[0]??][#if adc1_wdt11_mode != "DISABLED"][#if adc1_wdt11_mode == "HIGH_LEVEL_INT"] | ADC_WTIMR_MSKWDG11_HIGH[/#if][#if adc1_wdt11_mode == "LOW_LEVEL_INT"] | ADC_WTIMR_MSKWDG11_LOW[/#if][#if adc1_wdt11_mode == "HIGH_LOW_LEVEL_INT"] | ADC_WTIMR_MSKWDG11_BOTH[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_12.mode.value[0]??][#if adc1_wdt12_mode != "DISABLED"][#if adc1_wdt12_mode == "HIGH_LEVEL_INT"] | ADC_WTIMR_MSKWDG12_HIGH[/#if][#if adc1_wdt12_mode == "LOW_LEVEL_INT"] | ADC_WTIMR_MSKWDG12_LOW[/#if][#if adc1_wdt12_mode == "HIGH_LOW_LEVEL_INT"] | ADC_WTIMR_MSKWDG12_BOTH[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_13.mode.value[0]??][#if adc1_wdt13_mode != "DISABLED"][#if adc1_wdt13_mode == "HIGH_LEVEL_INT"] | ADC_WTIMR_MSKWDG13_HIGH[/#if][#if adc1_wdt13_mode == "LOW_LEVEL_INT"] | ADC_WTIMR_MSKWDG13_LOW[/#if][#if adc1_wdt13_mode == "HIGH_LOW_LEVEL_INT"] | ADC_WTIMR_MSKWDG13_BOTH[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_14.mode.value[0]??][#if adc1_wdt14_mode != "DISABLED"][#if adc1_wdt14_mode == "HIGH_LEVEL_INT"] | ADC_WTIMR_MSKWDG14_HIGH[/#if][#if adc1_wdt14_mode == "LOW_LEVEL_INT"] | ADC_WTIMR_MSKWDG14_LOW[/#if][#if adc1_wdt14_mode == "HIGH_LOW_LEVEL_INT"] | ADC_WTIMR_MSKWDG14_BOTH[/#if][/#if][/#if][#rt]
[#if group.watchdog_thresholds_configuration.threshold_15.mode.value[0]??][#if adc1_wdt15_mode != "DISABLED"][#if adc1_wdt15_mode == "HIGH_LEVEL_INT"] | ADC_WTIMR_MSKWDG15_HIGH[/#if][#if adc1_wdt15_mode == "LOW_LEVEL_INT"] | ADC_WTIMR_MSKWDG15_LOW[/#if][#if adc1_wdt15_mode == "HIGH_LOW_LEVEL_INT"] | ADC_WTIMR_MSKWDG15_BOTH[/#if][/#if][/#if],
#endif
  {
[#if group.conversion_timing_configuration.ctr0_inplatch.value[0]??]
    [#if adc1_ctr0_inplatch == 1]ADC_CTR_INPLATCH | [/#if]ADC_CTR_OFFSHIFT(${adc1_ctr0_offshift}) | ADC_CTR_INPCMP(${adc1_ctr0_inpcmp}) | ADC_CTR_INPSAMP(${adc1_ctr0_inpsamp}),
[#else]
    0,
[/#if]
[#if group.conversion_timing_configuration.ctr1_inplatch.value[0]??]
    [#if adc1_ctr1_inplatch == 1]ADC_CTR_INPLATCH | [/#if]ADC_CTR_OFFSHIFT(${adc1_ctr1_offshift}) | ADC_CTR_INPCMP(${adc1_ctr1_inpcmp}) | ADC_CTR_INPSAMP(${adc1_ctr1_inpsamp}),
[#else]
    0,
[/#if]
[#if group.conversion_timing_configuration.ctr2_inplatch.value[0]??]
    [#if adc1_ctr2_inplatch == 1]ADC_CTR_INPLATCH | [/#if]ADC_CTR_OFFSHIFT(${adc1_ctr2_offshift}) | ADC_CTR_INPCMP(${adc1_ctr2_inpcmp}) | ADC_CTR_INPSAMP(${adc1_ctr2_inpsamp})
[#else]
    0
[/#if]
  },
  ADC_CHN_AN${init_channel}
};

[/#list]

/*===========================================================================*/
/* Driver local types.                                                       */
/*===========================================================================*/

/*===========================================================================*/
/* Driver local variables.                                                   */
/*===========================================================================*/

/*===========================================================================*/
/* Driver local functions.                                                   */
/*===========================================================================*/

/*===========================================================================*/
/* Driver exported functions.                                                */
/*===========================================================================*/

#endif /* HAL_USE_ADC */

/** @} */
